summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2018-08-09 21:15:33 +0000
committerPhilip Reames <listmail@philipreames.com>2018-08-09 21:15:33 +0000
commit7d7943313641459fb70a80f8d0bde09a791987b9 (patch)
treeaeafaa4478e62ab85c67c63f08058ebc8ca1bf00
parent5ff09a3bdb8cd629c5e8eff72e7878bf2c24afba (diff)
downloadbcm5719-llvm-7d7943313641459fb70a80f8d0bde09a791987b9.tar.gz
bcm5719-llvm-7d7943313641459fb70a80f8d0bde09a791987b9.zip
[LICM] Suppress a compiler warning noticed by one of the bots
llvm-svn: 339388
-rw-r--r--llvm/lib/Transforms/Scalar/LICM.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp
index dbb9bc6318d..4150d9fece1 100644
--- a/llvm/lib/Transforms/Scalar/LICM.cpp
+++ b/llvm/lib/Transforms/Scalar/LICM.cpp
@@ -697,6 +697,7 @@ bool llvm::canSinkOrHoistInst(Instruction &I, AAResults *AA, DominatorTree *DT,
if (!UniqueI)
// other memory op, give up
return false;
+ (void)FI; //suppress unused variable warning
assert(UniqueI == FI && "AS must contain FI");
return true;
}
OpenPOWER on IntegriCloud