[Sparc] Use correct instruction pattern for CMPri.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191180 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Venkatraman Govindaraju 2013-09-22 18:54:54 +00:00
parent e7174f1832
commit ff96efee98

View File

@ -520,7 +520,7 @@ let Defs = [ICC], rd = 0 in {
(outs), (ins IntRegs:$b, IntRegs:$c),
"cmp $b, $c",
[(SPcmpicc i32:$b, i32:$c)]>;
def CMPri : F3_1<2, 0b010100,
def CMPri : F3_2<2, 0b010100,
(outs), (ins IntRegs:$b, i32imm:$c),
"cmp $b, $c",
[(SPcmpicc i32:$b, (i32 simm13:$c))]>;