Do not hastily change the Opcode from 'r' to 'i' type if we're not actually
authorMisha Brukman <brukman+llvm@gmail.com>
Sat, 7 Jun 2003 02:34:43 +0000 (02:34 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Sat, 7 Jun 2003 02:34:43 +0000 (02:34 +0000)
commit6fe6905df2e23e284faa9b368fbce096476d7e09
tree77317253d4e5139a78423ccf59c9378d574df104
parent1cb65f2d6202bbfcea0a764ab1356cb574ef4d20
Do not hastily change the Opcode from 'r' to 'i' type if we're not actually
SETTING the operand to be an immediate or have verified that one of the operands
is really a SignExtended or Unextended immediate value already, which warrants
an 'i' opcode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6662 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp
lib/Target/SparcV9/InstrSelection/InstrSelectionSupport.cpp