We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 986e0fe commit c18c3ccCopy full SHA for c18c3cc
llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
@@ -2163,7 +2163,8 @@ Value *HvxIdioms::processVScatter(Instruction &In) const {
2163
// Our indexes are represented as a constant. We need it in a reg.
2164
AllocaInst *IndexesAlloca =
2165
Builder.CreateAlloca(HVC.getHvxTy(HVC.getIntTy(32), false));
2166
- auto *StoreIndexes = Builder.CreateStore(cstDataVector, IndexesAlloca);
+ [[maybe_unused]] auto *StoreIndexes =
2167
+ Builder.CreateStore(cstDataVector, IndexesAlloca);
2168
LLVM_DEBUG(dbgs() << " StoreIndexes : " << *StoreIndexes << "\n");
2169
CastIndex = Builder.CreateLoad(IndexesAlloca->getAllocatedType(),
2170
IndexesAlloca, "reload_index");
0 commit comments