Use correct add*Imm form in more BuildMI calls.
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 24 Jun 2004 08:55:09 +0000 (08:55 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 24 Jun 2004 08:55:09 +0000 (08:55 +0000)
commitc7fd0f46754c6fe04cd3fc6ea73273e4b6df6c00
tree1f17bee6a2228bf9d8a0b3ad6c4e1e444135f71e
parentaf0492ea52fd322c4282ff637252fdba2d2159f8
Use correct add*Imm form in more BuildMI calls.
Fix bug in emitGEPOperation where we weren't passing MBB, IP to getReg.
(hey, wouldn't a constant expression lowering pass be cool? huh huhuhuh)
Fix bug in emitGEPOperation where we might try to OR a constant into a
register which was too big to fit in the immediate field.
Support and, or, xor of longs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14363 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/InstSelectSimple.cpp
lib/Target/Sparc/SparcV8ISelSimple.cpp
lib/Target/SparcV8/InstSelectSimple.cpp
lib/Target/SparcV8/SparcV8ISelSimple.cpp