diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2018-10-15 09:34:05 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2018-10-15 09:34:05 +0000 |
| commit | 4a2d58e16acc5badae6e75aa6fd6fe9bd916b32d (patch) | |
| tree | 1dc5b48e3091a86dd5eb96d702b04b7b58605903 /llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp | |
| parent | f21ce5df774dd185112ab6bd9e92912dcdf27804 (diff) | |
| download | bcm5719-llvm-4a2d58e16acc5badae6e75aa6fd6fe9bd916b32d.tar.gz bcm5719-llvm-4a2d58e16acc5badae6e75aa6fd6fe9bd916b32d.zip | |
[TI removal] Remove `TerminatorInst` from BasicBlockUtils.h
This requires updating a number of .cpp files to adapt to the new API.
I've just systematically updated all uses of `TerminatorInst` within
these files te `Instruction` so thta I won't have to touch them again in
the future.
llvm-svn: 344498
Diffstat (limited to 'llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp b/llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp index 03006ef3a2d..661b4fa5bcb 100644 --- a/llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp +++ b/llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp @@ -301,7 +301,7 @@ static void createMemMoveLoop(Instruction *InsertBefore, // the appropriate conditional branches when the loop is built. ICmpInst *PtrCompare = new ICmpInst(InsertBefore, ICmpInst::ICMP_ULT, SrcAddr, DstAddr, "compare_src_dst"); - TerminatorInst *ThenTerm, *ElseTerm; + Instruction *ThenTerm, *ElseTerm; SplitBlockAndInsertIfThenElse(PtrCompare, InsertBefore, &ThenTerm, &ElseTerm); |

