forked from OSchip/llvm-project
[SystemZ] LTGFR use regclass should be GR32, not GR64.
Discovered by testing int-cmp-44.ll with -verify-machineinstrs (added to test run). llvm-svn: 251299
This commit is contained in:
parent
7da3820882
commit
83553d0cac
|
@ -424,7 +424,7 @@ let hasSideEffects = 0 in {
|
|||
def LGFR : UnaryRRE<"lgf", 0xB914, sext32, GR64, GR32>;
|
||||
}
|
||||
let Defs = [CC], CCValues = 0xE, CompareZeroCCMask = 0xE in
|
||||
def LTGFR : UnaryRRE<"ltgf", 0xB912, null_frag, GR64, GR64>;
|
||||
def LTGFR : UnaryRRE<"ltgf", 0xB912, null_frag, GR64, GR32>;
|
||||
|
||||
// Match 32-to-64-bit sign extensions in which the source is already
|
||||
// in a 64-bit register.
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
; Test that compares are omitted if CC already has the right value
|
||||
; (z10 version).
|
||||
;
|
||||
; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 -no-integrated-as \
|
||||
; RUN: -verify-machineinstrs| FileCheck %s
|
||||
|
||||
declare void @foo()
|
||||
|
||||
|
|
Loading…
Reference in New Issue