Add constant support to object size handling and remove default
authorEric Christopher <echristo@apple.com>
Fri, 29 Jan 2010 01:09:57 +0000 (01:09 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 29 Jan 2010 01:09:57 +0000 (01:09 +0000)
commit949124ce0fcaa2428adb95a729ccf8727054f294
treef95e77e9e48db6afec2ba0bff04e9bf5b53483aa
parent466f37befba81bea849a08f21d0a80fb6070ab8f
Add constant support to object size handling and remove default
lowering. We'll either figure it out, or not and be lowered by
SelectionDAGBuild.

Add test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94775 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/objsize.ll [new file with mode: 0644]