mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
Fix regression in r225266.
The change in r225266 was reviewed under D6722. But the commit r225266 has a typo, causing some MCHammer failures. This patch fixes it. Change-Id: I573efcff25003af7478ac02548ebbe929fc7f5fd git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225347 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7372d445af
commit
d11ec1d9b7
@ -1049,7 +1049,7 @@ public:
|
||||
if (!CE) return false;
|
||||
int64_t Value = CE->getValue();
|
||||
return (ARM_AM::getSOImmVal(Value) != -1 ||
|
||||
ARM_AM::getSOImmVal(~Value) != -1);;
|
||||
ARM_AM::getSOImmVal(-Value) != -1);;
|
||||
}
|
||||
bool isT2SOImm() const {
|
||||
if (!isImm()) return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user