Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: src/IceCfg.cpp

Issue 1961743002: Subzero: Update for LLVM 3.9 (trunk). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero@master
Patch Set: Remove unnecessary variable Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceBitVector.h ('k') | src/IceCfgNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfg.cpp
diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp
index 9a47dd668985387ee896ba7e047d3d5f88eb0ef9..f71737994aba701b4a75e6dcd296b11a5f66fed9 100644
--- a/src/IceCfg.cpp
+++ b/src/IceCfg.cpp
@@ -1102,7 +1102,7 @@ void Cfg::materializeVectorShuffles() {
Instr.setDeleted();
auto &LoweringContext = getTarget()->getContext();
- LoweringContext.setInsertPoint(Instr);
+ LoweringContext.setInsertPoint(instToIterator(&Instr));
LoweringContext.insert(ShuffleVector);
}
}
« no previous file with comments | « src/IceBitVector.h ('k') | src/IceCfgNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698