| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 99948
|
|
|
|
|
|
|
|
|
| |
memmove, and memset,
e.g., llvm.memcpy.i32(i8*, i8*, i32, i32) -> llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
A update of langref will occur in a subsequent checkin.
llvm-svn: 99928
|
|
|
|
|
|
| |
transformations.
llvm-svn: 99263
|
|
|
|
|
|
|
| |
and use this (as well as getCalledValue) to access the callee,
instead of {g|s}etOperand(0).
llvm-svn: 99084
|
|
|
|
|
|
| |
to unify the almost identical code in CodeGenPrepare and InstCombineCalls.
llvm-svn: 98338
|
|
|
|
|
|
| |
__strcpy_chk -> strcpy code.
llvm-svn: 98284
|
|
|
|
| |
llvm-svn: 98274
|
|
|
|
| |
llvm-svn: 98219
|
|
|
|
| |
llvm-svn: 98000
|
|
|
|
|
|
| |
before we try to optimize.
llvm-svn: 97876
|
|
|
|
|
|
|
|
| |
out the remainder of the calls that we should lower in some way and
move the tests to the new correct directory. Fix up tests that are now
optimized more than they were before by -instcombine.
llvm-svn: 97875
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Log:
Transform @llvm.objectsize to integer if the argument is a result of malloc of known size.
Modified:
llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/trunk/test/Transforms/InstCombine/objsize.ll
It appears to be causing swb and nightly test failures.
llvm-svn: 97866
|
|
|
|
|
|
| |
of known size.
llvm-svn: 97860
|
|
|
|
|
|
| |
integer.
llvm-svn: 97827
|
|
|
|
|
|
| |
the following Intrinsic::bswap code. I have no idea why it wasn't breaking stuff.
llvm-svn: 97774
|
|
|
|
|
|
| |
with large offset. When instcombine objsize checking transformation sees these geps where the offset seemingly point out of bound, it should just return "i don't know" rather than asserting.
llvm-svn: 96825
|
|
|
|
|
|
|
| |
and T->isPointerTy(). Convert most instances of the first form to the second form.
Requested by Chris.
llvm-svn: 96344
|
|
|
|
|
|
| |
isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris!
llvm-svn: 96223
|
|
|
|
|
|
|
| |
odd offsets since the bitcasted pointer size and the offset pointer
size are going to be different types for the GEP vs base object.
llvm-svn: 96134
|
|
|
|
|
|
|
|
| |
symbols.
Thanks to Duncan Sands for the testcase!
llvm-svn: 95877
|
|
|
|
|
|
|
| |
Update testcase accordingly now that we can optimize another
section.
llvm-svn: 95846
|
|
|
|
|
|
| |
enable constant 0 offset lowering.
llvm-svn: 95691
|
|
|
|
|
|
| |
that in mind.
llvm-svn: 95402
|
|
|
|
|
|
| |
failure.
llvm-svn: 95294
|
|
|
|
|
|
|
|
|
|
| |
Fix bugs where we would compute out of bounds as in bounds, and where
we couldn't know that the linker could override the size of an array.
Add a few new testcases, change existing testcase to use a private
global array instead of extern.
llvm-svn: 95283
|
|
|
|
|
|
| |
particular size, we just don't know what the length is yet.
llvm-svn: 95266
|
|
|
|
| |
llvm-svn: 95165
|
|
|
|
| |
llvm-svn: 95154
|
|
|
|
| |
llvm-svn: 95147
|
|
|
|
|
|
| |
Passed bootstrap and nightly test run here.
llvm-svn: 95145
|
|
|
|
|
|
|
|
|
| |
of objc message send was getting marked arm_apcscc, but the prototype
isn't. This is fine at runtime because objcmsgsend is implemented in
assembly. Only turn a mismatched caller and callee into 'unreachable'
if the callee is a definition.
llvm-svn: 94986
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
case, instcombine can't zap the invoke for fear of changing the CFG.
However, we have to do something to prevent the next iteration of
instcombine from inserting another store -> undef before the invoke
thereby getting into infinite iteration between dead store elim and
store insertion.
Just zap the callee to null, which will prevent the next iteration
from doing anything.
llvm-svn: 94985
|
|
|
|
| |
llvm-svn: 94841
|
|
|
|
|
|
|
|
|
| |
lowering. We'll either figure it out, or not and be lowered by
SelectionDAGBuild.
Add test.
llvm-svn: 94775
|
|
|
|
| |
llvm-svn: 93026
|
|
|
|
|
|
| |
it work for any integer size return type.
llvm-svn: 92853
|
|
|
|
| |
llvm-svn: 92771
|
|
llvm-svn: 92707
|