Fix a sign-extension bug in PPCCTRLoops
authorHal Finkel <hfinkel@anl.gov>
Mon, 18 Mar 2013 23:58:28 +0000 (23:58 +0000)
committerHal Finkel <hfinkel@anl.gov>
Mon, 18 Mar 2013 23:58:28 +0000 (23:58 +0000)
commit9f2518cdc6321d8cfb16973654df2996bad8ad78
tree4f72fe0f90bc4a3ec4a14311fd97a09f14ec516e
parentf31034db8c12197d00b3e356e1d2a702c2339d49
Fix a sign-extension bug in PPCCTRLoops

Don't sign extend the immediate value from the OR instruction in
an LIS/OR pair.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177361 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCCTRLoops.cpp
test/CodeGen/PowerPC/negctr.ll