Fix ARMFastISel::ARMEmitIntExt shift emission
authorJF Bastien <jfb@google.com>
Wed, 17 Jul 2013 05:46:46 +0000 (05:46 +0000)
committerJF Bastien <jfb@google.com>
Wed, 17 Jul 2013 05:46:46 +0000 (05:46 +0000)
commitcd4c64d2347e2fd92ab2a2a32e3c315cbdb3fc20
tree2ec6b4f3666e7633fc72a6a5e32a8947c2abdc6b
parent40f76d583030084c557354ec4905dab45cb5cefe
Fix ARMFastISel::ARMEmitIntExt shift emission

My patch 'r183551 - ARM FastISel integer sext/zext improvements' was incorrect when emitting ARM register-immediate ASR, LSL, LSR instructions: they are pseudo-instructions in ARMInstrInfo.td and I should have used MOVsi instead.

This is not an issue when code is generated through a .s file, but is an issue when generated straight to a .o (-filetype=obj).

llvm-svn: 186489
llvm/lib/Target/ARM/ARMFastISel.cpp