diff options
author | Justin Bogner <mail@justinbogner.com> | 2016-08-05 01:06:44 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2016-08-05 01:06:44 +0000 |
commit | 9979840f59b3db81910cfc4cccf61ddf2159faab (patch) | |
tree | b525b6e57a18f3cd5c1f8e3b1b86f7f54b6a6f41 /llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp | |
parent | 808d13ea49baf14ea67dc7db6b0669222603a9e8 (diff) | |
download | bcm5719-llvm-9979840f59b3db81910cfc4cccf61ddf2159faab.tar.gz bcm5719-llvm-9979840f59b3db81910cfc4cccf61ddf2159faab.zip |
InstCombine: Replace some never-null pointers with references. NFC
llvm-svn: 277792
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp b/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp index 8f1ff8ac0e6..018cdcc24d5 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp @@ -919,7 +919,7 @@ Instruction *InstCombiner::visitSelectInst(SelectInst &SI) { Type *SelType = SI.getType(); if (Value *V = - SimplifySelectInst(CondVal, TrueVal, FalseVal, DL, TLI, DT, AC)) + SimplifySelectInst(CondVal, TrueVal, FalseVal, DL, &TLI, &DT, &AC)) return replaceInstUsesWith(SI, V); if (SelType->getScalarType()->isIntegerTy(1) && |