summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FastISel.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-19 21:48:29 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-19 21:48:29 +0000
commitd77de6495ec73d7d38b0f2e564bfa65fe7eb64db (patch)
tree985a82e08c1e82efcb43bcdb7d1338d4acdb982d /llvm/lib/Target/X86/X86FastISel.cpp
parentfdbefca88cb6e5f511b65866a605f383aeeea954 (diff)
downloadbcm5719-llvm-d77de6495ec73d7d38b0f2e564bfa65fe7eb64db.tar.gz
bcm5719-llvm-d77de6495ec73d7d38b0f2e564bfa65fe7eb64db.zip
X86: Remove implicit ilist iterator conversions, NFC
llvm-svn: 250741
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
-rw-r--r--llvm/lib/Target/X86/X86FastISel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp
index 263c133698c..2cda8211ba9 100644
--- a/llvm/lib/Target/X86/X86FastISel.cpp
+++ b/llvm/lib/Target/X86/X86FastISel.cpp
@@ -298,8 +298,8 @@ bool X86FastISel::foldX86XALUIntrinsic(X86::CondCode &CC, const Instruction *I,
return false;
// Make sure nothing is in the way
- BasicBlock::const_iterator Start = I;
- BasicBlock::const_iterator End = II;
+ BasicBlock::const_iterator Start(I);
+ BasicBlock::const_iterator End(II);
for (auto Itr = std::prev(Start); Itr != End; --Itr) {
// We only expect extractvalue instructions between the intrinsic and the
// instruction to be selected.
OpenPOWER on IntegriCloud