summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2018-01-17 15:25:37 +0000
committerDiana Picus <diana.picus@linaro.org>2018-01-17 15:25:37 +0000
commit01bcfd2112fa7f46d4813e9c4b5d66eff610e394 (patch)
treea2d438a194ccb8a8cf4fec66dbcbf7c806a77825
parent555130c3f6fba87dfcf1328fca69c79def9cef3e (diff)
downloadbcm5719-llvm-01bcfd2112fa7f46d4813e9c4b5d66eff610e394.tar.gz
bcm5719-llvm-01bcfd2112fa7f46d4813e9c4b5d66eff610e394.zip
[ARM GlobalISel] Rename local variable. NFC
llvm-svn: 322667
-rw-r--r--llvm/lib/Target/ARM/ARMLegalizerInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMLegalizerInfo.cpp b/llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
index 7b560088510..a9c1af3b26f 100644
--- a/llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
@@ -161,9 +161,9 @@ ARMLegalizerInfo::ARMLegalizerInfo(const ARMSubtarget &ST) {
setAction({G_ICMP, 1, Ty}, Legal);
if (!ST.useSoftFloat() && ST.hasVFP2()) {
- for (unsigned BinOp : {G_FADD, G_FSUB, G_FMUL, G_FDIV, G_FCONSTANT, G_FNEG})
+ for (unsigned Op : {G_FADD, G_FSUB, G_FMUL, G_FDIV, G_FCONSTANT, G_FNEG})
for (auto Ty : {s32, s64})
- setAction({BinOp, Ty}, Legal);
+ setAction({Op, Ty}, Legal);
setAction({G_LOAD, s64}, Legal);
setAction({G_STORE, s64}, Legal);
OpenPOWER on IntegriCloud