teach the optimizer how to constant fold uadd/usub intrinsics.
authorChris Lattner <sabre@nondot.org>
Mon, 5 Oct 2009 05:26:04 +0000 (05:26 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 5 Oct 2009 05:26:04 +0000 (05:26 +0000)
commite65cd40ab99c3bd43dc997873e500643d012bbad
tree766f41925f54eab14308a1c17a72d1df67b4f012
parentd0806a1519f3bc450d2dea3e6f22db73fc797e4c
teach the optimizer how to constant fold uadd/usub intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83295 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ConstantFolding.cpp
test/Transforms/ConstProp/overflow-ops.ll [new file with mode: 0644]