aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorToma Tabacu <toma.tabacu@imgtec.com>2015-05-15 09:42:11 +0000
committerToma Tabacu <toma.tabacu@imgtec.com>2015-05-15 09:42:11 +0000
commita3d056fd4cb8d587db98c158e78554620e68df0a (patch)
treee94f00cbbeb1342f49403935d082eb1f0ac7b60a /llvm/lib/IR/Module.cpp
parent731dde91db80686eec141cc3ee0ef9594e1a85c6 (diff)
downloadllvm-a3d056fd4cb8d587db98c158e78554620e68df0a.zip
llvm-a3d056fd4cb8d587db98c158e78554620e68df0a.tar.gz
llvm-a3d056fd4cb8d587db98c158e78554620e68df0a.tar.bz2
[mips] [IAS] Fix expansion of negative 32-bit immediates for LI/DLI.
Summary: To maintain compatibility with GAS, we need to stop treating negative 32-bit immediates as 64-bit values when expanding LI/DLI. This currently happens because of sign extension. To do this we need to choose the 32-bit value expansion for values which use their upper 33 bits only for sign extension (i.e. no 0's, only 1's). Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8662 llvm-svn: 237428
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions