- Aug 26, 2011
-
-
Craig Topper authored
llvm-svn: 138623
-
Eli Friedman authored
I don't really like the patterns, but I'm having trouble coming up with a better way to handle them. I plan on making other targets use the same legalization ARM-without-memory-barriers is using... it's not especially efficient, but if anyone cares, it's not that hard to fix for a given target if there's some better lowering. llvm-svn: 138621
-
Benjamin Kramer authored
SimplifyCFG: If we have a PHI node that can evaluate to NULL and do a load or store to the address returned by the PHI node then we can consider this incoming value as dead and remove the edge pointing there, unless there are instructions that can affect control flow executed in between. In theory this could be extended to other instructions, eg. division by zero, but it's likely that it will "miscompile" some code because people depend on div by zero not trapping. NULL pointer dereference usually leads to a crash so we should be on the safe side. This shrinks the size of a Release clang by 16k on x86_64. llvm-svn: 138618
-
Bill Wendling authored
llvm-svn: 138606
-
- Aug 25, 2011
-
-
Bruno Cardoso Lopes authored
llvm-svn: 138588
-
Owen Anderson authored
Port over additional encoding tests to decoding tests, and fix an operand ordering bug this exposed. llvm-svn: 138575
-
Andrew Trick authored
rdar://10005094: miscompile of 176.gcc llvm-svn: 138568
-
Craig Topper authored
Give ATTR_VEX higher priority when generating the disassembler context table. Fixes disassembling of VEX instructions with 'pp'=00. Fixes subset of PR10678. llvm-svn: 138552
-
Craig Topper authored
Add TB encoding to VEROALL, VZEROUPPER, and VCVTPS2PD to allow them to be disassembled. Fixes PR10723. llvm-svn: 138551
-
Bill Wendling authored
proper function to do it. llvm-svn: 138550
-
Bruno Cardoso Lopes authored
llvm-svn: 138546
-
Bill Wendling authored
llvm-svn: 138541
-
Bill Wendling authored
llvm-svn: 138539
-
Eli Friedman authored
Hook up 64-bit atomic load/store on x86-32. I plan to write more efficient implementations eventually. llvm-svn: 138505
-
Evan Cheng authored
.cfi_startproc. e.g. libffi: $ cat confopt.c asm (".cfi_startproc\n\t.cfi_endproc"); int main () { return 0; } Teach MC / dwarf emission to handle these cfi directives which essentially create an empty frame. rdar://10017184 llvm-svn: 138504
-
Jim Grosbach authored
llvm-svn: 138502
-
- Aug 24, 2011
-
-
Jim Grosbach authored
Fix FiXME in test file. Remove FIXME for SUB (SP minus register) since that form is Thumb2 only. llvm-svn: 138494
-
Jim Grosbach authored
Fix the test FIXME and add parsing support for the ADD (SP plus immediate) and ADD (SP plus register) instruction forms. llvm-svn: 138488
-
Eli Friedman authored
llvm-svn: 138486
-
Nadav Rotem authored
llvm-svn: 138469
-
Owen Anderson authored
llvm-svn: 138441
-
Richard Osborne authored
variable sized alloca. llvm-svn: 138433
-
Craig Topper authored
Break 256-bit vector int add/sub/mul into two 128-bit operations to avoid costly scalarization. Fixes PR10711. llvm-svn: 138427
-
Bruno Cardoso Lopes authored
permutations. Also tidy up some patterns and make them close to their instruction definition! llvm-svn: 138392
-
- Aug 23, 2011
-
-
Eric Christopher authored
This reverts commit 20a05be15ea5271ab6185b83200fa88263362400. (svn rev 138340) Conflicts: test/Transforms/InstCombine/bitcast.ll llvm-svn: 138366
-
Jim Grosbach authored
llvm-svn: 138364
-
Jim Grosbach authored
llvm-svn: 138363
-
Jim Grosbach authored
llvm-svn: 138362
-
Jim Grosbach authored
llvm-svn: 138361
-
Jim Grosbach authored
llvm-svn: 138360
-
Jim Grosbach authored
llvm-svn: 138359
-
Nick Lewycky authored
llvm-svn: 138354
-
Jim Grosbach authored
llvm-svn: 138352
-
Jim Grosbach authored
llvm-svn: 138349
-
Jim Grosbach authored
llvm-svn: 138348
-
Jim Grosbach authored
Not including tSTRspi. llvm-svn: 138347
-
Jim Grosbach authored
llvm-svn: 138345
-
Nadav Rotem authored
llvm-svn: 138342
-
Owen Anderson authored
Fix decoding of Thumb2 prefetch instructions, which account for all the remaining Thumb2 decoding failures found by randomized testing so far. llvm-svn: 138341
-
Nadav Rotem authored
1. Cleanup the tests in ConstantFolding.cpp 2. Implement isAllOnes for Constant, ConstantFP, ConstantVector llvm-svn: 138340
-