mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-23 02:44:32 +00:00
ARM64: silence sign-comparison warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f539725734
commit
92d2f98664
@ -399,7 +399,7 @@ def MOVi64imm
|
||||
// eventual expansion code fewer bits to worry about getting right. Marshalling
|
||||
// the types is a little tricky though:
|
||||
def i64imm_32bit : ImmLeaf<i64, [{
|
||||
return (Imm & 0xffffffffULL) == Imm;
|
||||
return (Imm & 0xffffffffULL) == static_cast<uint64_t>(Imm);
|
||||
}]>;
|
||||
|
||||
def trunc_imm : SDNodeXForm<imm, [{
|
||||
|
Loading…
x
Reference in New Issue
Block a user