diff options
| author | Eric Christopher <echristo@apple.com> | 2010-02-11 01:48:54 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2010-02-11 01:48:54 +0000 |
| commit | 26d0e892e36e8dcc4248a8ccc8bedbd2d235eaee (patch) | |
| tree | 20faca531f79e04e06ecb6ea03f1ee4cff6945cf /test/Transforms | |
| parent | f87052a55ac7525dc86932549f2bc4bd69dd5d1b (diff) | |
Add ConstantExpr handling to Intrinsic::objectsize lowering.
Update testcase accordingly now that we can optimize another
section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95846 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
| -rw-r--r-- | test/Transforms/InstCombine/objsize.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/objsize.ll b/test/Transforms/InstCombine/objsize.ll index 69e09f61f7..2bcdd914e3 100644 --- a/test/Transforms/InstCombine/objsize.ll +++ b/test/Transforms/InstCombine/objsize.ll @@ -31,10 +31,9 @@ cond.false: ret i8* %2; } -; FIXME: Should be ret i32 0 define i32 @f() nounwind { ; CHECK: @f -; CHECK-NEXT: llvm.objectsize.i32 +; CHECK-NEXT: ret i32 0 %1 = call i32 @llvm.objectsize.i32(i8* getelementptr ([60 x i8]* @a, i32 1, i32 0), i1 false) ret i32 %1 } |
