mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
Simplify code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168064 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2aa0035a6
commit
eaf77254d4
@ -297,7 +297,7 @@ bool X86FastISel::X86FastEmitStore(EVT VT, const Value *Val,
|
||||
case MVT::i32: Opc = X86::MOV32mi; break;
|
||||
case MVT::i64:
|
||||
// Must be a 32-bit sign extended value.
|
||||
if ((int)CI->getSExtValue() == CI->getSExtValue())
|
||||
if (isInt<32>(CI->getSExtValue()))
|
||||
Opc = X86::MOV64mi32;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user