llvm.org GIT mirror llvm / d11ec1d
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 Asiri Rathnayake 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
10481048 if (!CE) return false;
10491049 int64_t Value = CE->getValue();
10501050 return (ARM_AM::getSOImmVal(Value) != -1 ||
1051 ARM_AM::getSOImmVal(~Value) != -1);;
1051 ARM_AM::getSOImmVal(-Value) != -1);;
10521052 }
10531053 bool isT2SOImm() const {
10541054 if (!isImm()) return false;