aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/ExtractFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-05-02 04:27:25 +0000
committerChris Lattner <sabre@nondot.org>2007-05-02 04:27:25 +0000
commit231cbcb35b48530aef305c76de1583c0b5dfc7ce (patch)
treea8aa7a222ed1080165ed9346399dffa991271143 /lib/Transforms/IPO/ExtractFunction.cpp
parentf639875cd73902a29bc222d520cc0c45d379d137 (diff)
read a few instructions, fix some bugs. This is enough to be able to round
trip function bodies like this: define <2 x i64> @foo(<2 x i64> %x, <2 x i64> %y) { %tmp4 = bitcast <2 x i64> %y to <8 x i16> ; <<8 x i16>> [#uses=1] %tmp5 = bitcast <2 x i64> %x to <8 x i16> ; <<8 x i16>> [#uses=1] %tmp = add <8 x i16> %tmp5, %tmp4 ; <<8 x i16>> [#uses=1] %tmp6 = bitcast <8 x i16> %tmp to <2 x i64> ; <<2 x i64>> [#uses=1] ret <2 x i64> %tmp6 } git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/ExtractFunction.cpp')
0 files changed, 0 insertions, 0 deletions