summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ImplicitNullChecks.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-09-14 17:24:15 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-09-14 17:24:15 +0000
commite8e0f5cac6d80b489e58a369a5389387ff91d60a (patch)
tree88f45d7f6dd53509e9a47978a841322cef0dc665 /llvm/lib/CodeGen/ImplicitNullChecks.cpp
parenta2b036e88b8f31c4a2169c1d5634e21c9c8eb927 (diff)
downloadbcm5719-llvm-e8e0f5cac6d80b489e58a369a5389387ff91d60a.tar.gz
bcm5719-llvm-e8e0f5cac6d80b489e58a369a5389387ff91d60a.zip
Make analyzeBranch family of instruction names consistent
analyzeBranch was renamed to use lowercase first, rename the related set to match. llvm-svn: 281506
Diffstat (limited to 'llvm/lib/CodeGen/ImplicitNullChecks.cpp')
-rw-r--r--llvm/lib/CodeGen/ImplicitNullChecks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ImplicitNullChecks.cpp b/llvm/lib/CodeGen/ImplicitNullChecks.cpp
index f9e3155c049..308d25d428a 100644
--- a/llvm/lib/CodeGen/ImplicitNullChecks.cpp
+++ b/llvm/lib/CodeGen/ImplicitNullChecks.cpp
@@ -560,7 +560,7 @@ void ImplicitNullChecks::rewriteNullChecks(
NC.getCheckOperation()->eraseFromParent();
// Insert an *unconditional* branch to not-null successor.
- TII->InsertBranch(*NC.getCheckBlock(), NC.getNotNullSucc(), nullptr,
+ TII->insertBranch(*NC.getCheckBlock(), NC.getNotNullSucc(), nullptr,
/*Cond=*/None, DL);
NumImplicitNullChecks++;
OpenPOWER on IntegriCloud