diff options
author | Chris Lattner <sabre@nondot.org> | 2007-05-02 04:27:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-05-02 04:27:25 +0000 |
commit | e53603e4e23b6ad00e4d5f1bdb49e97c6288e506 (patch) | |
tree | fd3c3e3e4fc2a44e800bb3eb322e7dfce3aaf9d9 /llvm/lib/Bitcode/Reader/BitcodeReader.h | |
parent | 9f35f9112d10420d96cf46c49f5d2d0b18c5f953 (diff) | |
download | bcm5719-llvm-e53603e4e23b6ad00e4d5f1bdb49e97c6288e506.tar.gz bcm5719-llvm-e53603e4e23b6ad00e4d5f1bdb49e97c6288e506.zip |
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
}
llvm-svn: 36640
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions