mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-01 17:35:38 +00:00
Lanai: fix -Wsign-compare warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265368 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
218731256d
commit
3f3bbdbcf9
@ -133,7 +133,7 @@ def i32neg16 : Operand<i32>, PatLeaf<(i32 imm), [{
|
||||
def i32lo16s : Operand<i32>, PatLeaf<(i32 imm), [{
|
||||
// i32lo16 predicate - true if the 32-bit immediate has only rightmost 16
|
||||
// bits set.
|
||||
return ((N->getSExtValue() & 0xFFFFUL) == N->getSExtValue());}], LO16> {
|
||||
return ((int64_t)(N->getSExtValue() & 0xFFFFUL) == N->getSExtValue());}], LO16> {
|
||||
let ParserMatchClass = LoImm16AsmOperand;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user