summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPC.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-17 08:26:38 +0000
committerChris Lattner <sabre@nondot.org>2005-12-17 08:26:38 +0000
commit866cef563b70f309839b15bcbe2cb2b7653d2fbc (patch)
treebc74b9ae581822b89a129fdb01d93db651e4bd4c /llvm/lib/Target/PowerPC/PPC.h
parent80a3875bc189bb3713b39ab043f8b1a66967af0a (diff)
downloadbcm5719-llvm-866cef563b70f309839b15bcbe2cb2b7653d2fbc.tar.gz
bcm5719-llvm-866cef563b70f309839b15bcbe2cb2b7653d2fbc.zip
Add some simple integer patterns. This allows us to compile this:
int %test(int %A) { %B = add int %A, 1 %C = xor int %B, 123 ret int %C } into this: test: save -96, %sp, %sp add %i0, 1, %l0 xor %l0, 123, %i0 restore %g0, %g0, %g0 retl nop for example. I guess it would make sense to add reg/reg versions too. llvm-svn: 24774
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPC.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud