diff options
author | Nico Rieck <nico.rieck@gmail.com> | 2015-08-06 19:10:45 +0000 |
---|---|---|
committer | Nico Rieck <nico.rieck@gmail.com> | 2015-08-06 19:10:45 +0000 |
commit | 78199518c43a04fecf9886fa86202677f6a1525d (patch) | |
tree | 3dbee125e2fe66aa50c46625093cc7741aadf766 /llvm/lib/Transforms/Scalar/Float2Int.cpp | |
parent | a7bf96ab5c6971d9bd86eb0c87ea4fc9411d663f (diff) | |
download | llvm-78199518c43a04fecf9886fa86202677f6a1525d.zip llvm-78199518c43a04fecf9886fa86202677f6a1525d.tar.gz llvm-78199518c43a04fecf9886fa86202677f6a1525d.tar.bz2 |
Rename inst_range() to instructions() for consistency. NFC
llvm-svn: 244248
Diffstat (limited to 'llvm/lib/Transforms/Scalar/Float2Int.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/Float2Int.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/Float2Int.cpp b/llvm/lib/Transforms/Scalar/Float2Int.cpp index 8c1dce1..f52c32b 100644 --- a/llvm/lib/Transforms/Scalar/Float2Int.cpp +++ b/llvm/lib/Transforms/Scalar/Float2Int.cpp @@ -127,7 +127,7 @@ static Instruction::BinaryOps mapBinOpcode(unsigned Opcode) { // Find the roots - instructions that convert from the FP domain to // integer domain. void Float2Int::findRoots(Function &F, SmallPtrSet<Instruction*,8> &Roots) { - for (auto &I : inst_range(F)) { + for (auto &I : instructions(F)) { switch (I.getOpcode()) { default: break; case Instruction::FPToUI: |