| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 151475
|
| |
|
|
|
|
| |
build. Testcase is still reducing.
llvm-svn: 151474
|
| |
|
|
| |
llvm-svn: 151473
|
| |
|
|
| |
llvm-svn: 151472
|
| |
|
|
| |
llvm-svn: 151471
|
| |
|
|
| |
llvm-svn: 151470
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 151468
|
| |
|
|
|
|
| |
'gep null' when the icmp predicate is unsigned (or is signed without inbounds).
llvm-svn: 151467
|
| |
|
|
| |
llvm-svn: 151466
|
| |
|
|
|
|
| |
MultiSource/Applications/lua.
llvm-svn: 151463
|
| |
|
|
|
|
|
| |
equal if both are null. In the test, scope type %t and global @y by adding a
'gep' prefix to them.
llvm-svn: 151452
|
| |
|
|
| |
llvm-svn: 151450
|
| |
|
|
|
|
|
| |
by using llvm::isIdentifiedObject. Also teach it to handle GEPs that have
the same base pointer and constant operands. Fixes PR11238!
llvm-svn: 151449
|
| |
|
|
|
|
| |
function that others can use, next to llvm::isIdentifiedObject.
llvm-svn: 151446
|
| |
|
|
| |
llvm-svn: 151440
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 151431
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 151420
|
| |
|
|
| |
llvm-svn: 151418
|
| |
|
|
| |
llvm-svn: 151417
|
| |
|
|
|
|
| |
add/sub instructions.
llvm-svn: 151415
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 151398
|
| |
|
|
| |
llvm-svn: 151396
|
| |
|
|
| |
llvm-svn: 151385
|
| |
|
|
| |
llvm-svn: 151384
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
used by the Win32 _ftol2 runtime function. Patch by Joe Groff!
llvm-svn: 151382
|
| |
|
|
|
|
|
| |
This will limit all register classes to N registers in order to stress
test register allocation.
llvm-svn: 151379
|
| |
|
|
| |
llvm-svn: 151374
|
| |
|
|
|
|
|
| |
This is necessary to support the existing ppc lowering code for indirect calls.
Fixes PR12071.
llvm-svn: 151373
|
| |
|
|
| |
llvm-svn: 151365
|
| |
|
|
|
|
| |
surrounding it.
llvm-svn: 151364
|
| |
|
|
| |
llvm-svn: 151363
|
| |
|
|
|
|
| |
-mcpu does not choose arch automatically, on non-x86 hosts.
llvm-svn: 151362
|
| |
|
|
|
|
| |
Patch by Ahmed Charles
llvm-svn: 151360
|
| |
|
|
|
|
| |
of the StringRef.Split2 unittest on 32 bit machines.
llvm-svn: 151358
|
| |
|
|
| |
llvm-svn: 151355
|
| |
|
|
| |
llvm-svn: 151348
|
| |
|
|
|
|
|
|
|
| |
Add support for a missed case when the symbols in a difference
expression are in the same section but not the same fragment.
rdar://10924681
llvm-svn: 151345
|
| |
|
|
|
|
| |
duplicate patterns for selecting the intrinsics
llvm-svn: 151342
|
| |
|
|
| |
llvm-svn: 151341
|
| |
|
|
| |
llvm-svn: 151340
|
| |
|
|
| |
llvm-svn: 151339
|
| |
|
|
| |
llvm-svn: 151337
|
| |
|
|
|
|
|
|
|
|
|
| |
variable declaration as an argument because we want that address
anyhow for our debug information.
This seems to fix rdar://9965111, at least we have more debug
information than before and from reading the assembly it appears
to be the correct location.
llvm-svn: 151335
|