summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64
diff options
context:
space:
mode:
authorNico Rieck <nico.rieck@gmail.com>2015-08-06 19:10:45 +0000
committerNico Rieck <nico.rieck@gmail.com>2015-08-06 19:10:45 +0000
commit78199518c43a04fecf9886fa86202677f6a1525d (patch)
tree3dbee125e2fe66aa50c46625093cc7741aadf766 /llvm/lib/Target/AArch64
parenta7bf96ab5c6971d9bd86eb0c87ea4fc9411d663f (diff)
downloadbcm5719-llvm-78199518c43a04fecf9886fa86202677f6a1525d.tar.gz
bcm5719-llvm-78199518c43a04fecf9886fa86202677f6a1525d.zip
Rename inst_range() to instructions() for consistency. NFC
llvm-svn: 244248
Diffstat (limited to 'llvm/lib/Target/AArch64')
-rw-r--r--llvm/lib/Target/AArch64/AArch64PromoteConstant.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64PromoteConstant.cpp b/llvm/lib/Target/AArch64/AArch64PromoteConstant.cpp
index e1b93bf07c8..74b2e2fb88b 100644
--- a/llvm/lib/Target/AArch64/AArch64PromoteConstant.cpp
+++ b/llvm/lib/Target/AArch64/AArch64PromoteConstant.cpp
@@ -540,7 +540,7 @@ bool AArch64PromoteConstant::runOnFunction(Function &F) {
bool LocalChange = false;
SmallPtrSet<Constant *, 8> AlreadyChecked;
- for (Instruction &I : inst_range(&F)) {
+ for (Instruction &I : instructions(&F)) {
// Traverse the operand, looking for constant vectors. Replace them by a
// load of a global variable of constant vector type.
for (Value *Op : I.operand_values()) {
OpenPOWER on IntegriCloud