- Feb 26, 2012
-
-
Nadav Rotem authored
llvm-svn: 151487
-
Nadav Rotem authored
Thanks zygoloid. llvm-svn: 151481
-
Nadav Rotem authored
llvm-svn: 151480
-
Nadav Rotem authored
Add a random .LL file generator to stress-test different llvm components. llvm-svn: 151479
-
Rafael Espindola authored
llvm-svn: 151475
-
Rafael Espindola authored
build. Testcase is still reducing. llvm-svn: 151474
-
Hal Finkel authored
llvm-svn: 151473
-
Rafael Espindola authored
llvm-svn: 151472
-
Rafael Espindola authored
llvm-svn: 151471
-
Rafael Espindola authored
llvm-svn: 151470
-
Rafael Espindola authored
verifier does. This correctly handles invoke. Thanks to Duncan, Andrew and Chris for the comments. Thanks to Joerg for the early testing. llvm-svn: 151469
-
Rafael Espindola authored
llvm-svn: 151468
-
Nick Lewycky authored
'gep null' when the icmp predicate is unsigned (or is signed without inbounds). llvm-svn: 151467
-
Rafael Espindola authored
llvm-svn: 151466
-
Nick Lewycky authored
MultiSource/Applications/lua. llvm-svn: 151463
-
- Feb 25, 2012
-
-
Nick Lewycky authored
equal if both are null. In the test, scope type %t and global @y by adding a 'gep' prefix to them. llvm-svn: 151452
-
Nick Lewycky authored
llvm-svn: 151450
-
Nick Lewycky authored
by using llvm::isIdentifiedObject. Also teach it to handle GEPs that have the same base pointer and constant operands. Fixes PR11238! llvm-svn: 151449
-
Nick Lewycky authored
function that others can use, next to llvm::isIdentifiedObject. llvm-svn: 151446
-
Nick Lewycky authored
llvm-svn: 151440
-
Hal Finkel authored
Reverting this because it breaks static linking on ppc64. Specifically, it may be linkonce_odr functions that are the problem. With this patch, if you link statically, calls to some functions end up calling their descriptor addresses instead of calling to their entry points. This causes the execution to fail with SIGILL (b/c the descriptor address just has some pointers, not code). llvm-svn: 151433
-
NAKAMURA Takumi authored
Target/X86: Fix assertion failures and warnings caused by r151382 _ftol2 lowering for i386-*-win32 targets. Patch by Joe Groff. [Joe Groff] Hi everyone. My previous patch applied as r151382 had a few problems: Clang raised a warning, and X86 LowerOperation would assert out for fptoui f64 to i32 because it improperly lowered to an illegal BUILD_PAIR. Here's a patch that addresses these issues. Let me know if any other changes are necessary. Thanks. llvm-svn: 151432
-
Chad Rosier authored
llvm-svn: 151431
-
Chad Rosier authored
are optimization hints, but at -O0 we're not optimizing. This becomes a problem when the alwaysinline attribute is abused. rdar://10921594 llvm-svn: 151429
-
Lang Hames authored
uses of the vreg, since the old kills may no longer be valid. This was causing -verify-machineinstrs to complain about uses after kills, and could potentially have been causing subtle register allocation issues, but I haven't come across a test case yet. llvm-svn: 151425
-
Chad Rosier authored
llvm-svn: 151420
-
Eric Christopher authored
llvm-svn: 151418
-
Lang Hames authored
llvm-svn: 151417
-
Akira Hatanaka authored
add/sub instructions. llvm-svn: 151415
-
- Feb 24, 2012
-
-
Akira Hatanaka authored
reserving a physical register ($gp or $28) for that purpose. This will completely eliminate loads that restore the value of $gp after every function call, if the register allocator assigns a callee-saved register, or eliminate unnecessary loads if it assigns a temporary register. example: .cpload $25 // set $gp. ... .cprestore 16 // store $gp to stack slot 16($sp). ... jalr $25 // function call. clobbers $gp. lw $gp, 16($sp) // not emitted if callee-saved reg is chosen. ... lw $2, 4($gp) ... jalr $25 // function call. lw $gp, 16($sp) // not emitted if $gp is not live after this instruction. ... llvm-svn: 151402
-
Benjamin Kramer authored
llvm-svn: 151398
-
Jakob Stoklund Olesen authored
llvm-svn: 151396
-
Ahmed Charles authored
llvm-svn: 151385
-
Jim Grosbach authored
llvm-svn: 151384
-
Chris Lattner authored
fix PR12075, a regression in a recent transform I added. In unreachable code, gep chains can be infinite. Just like "stripPointerCasts", use a set to keep track of visited instructions so we don't recurse infinitely. llvm-svn: 151383
-
Michael J. Spencer authored
used by the Win32 _ftol2 runtime function. Patch by Joe Groff! llvm-svn: 151382
-
Jakob Stoklund Olesen authored
This will limit all register classes to N registers in order to stress test register allocation. llvm-svn: 151379
-
Hal Finkel authored
llvm-svn: 151374
-
Hal Finkel authored
This is necessary to support the existing ppc lowering code for indirect calls. Fixes PR12071. llvm-svn: 151373
-
Duncan Sands authored
llvm-svn: 151365
-