diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-08-14 06:44:51 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-08-14 06:44:51 +0000 |
| commit | c307c6676533b95ae5d47440d64414338635e8e3 (patch) | |
| tree | 7e21f09f0ce266260c18d511cf815def25f56362 | |
| parent | f1eda235142ed071e219bd231310e44cda08f932 (diff) | |
| download | bcm5719-llvm-c307c6676533b95ae5d47440d64414338635e8e3.tar.gz bcm5719-llvm-c307c6676533b95ae5d47440d64414338635e8e3.zip | |
AArch64: Silence warning in AArch64FastISel
GCC was emitting a signed vs unsigned comparison warning.
llvm-svn: 215620
| -rw-r--r-- | llvm/lib/Target/AArch64/AArch64FastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64FastISel.cpp b/llvm/lib/Target/AArch64/AArch64FastISel.cpp index 5459c1ba4f7..adcb64d191c 100644 --- a/llvm/lib/Target/AArch64/AArch64FastISel.cpp +++ b/llvm/lib/Target/AArch64/AArch64FastISel.cpp @@ -487,7 +487,7 @@ bool AArch64FastISel::ComputeAddress(const Value *Obj, Address &Addr, Type *Ty) NumBytes = 0; } - if (NumBytes != (1 << Val)) + if (NumBytes != (1U << Val)) break; Addr.setShift(Val); |

