Other code assumes that it can use passed Builder parameter to
generate new instructions but this code path created its own IRBuilder
instance, leaving the passed builder with an old insertion point.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp | ||
---|---|---|
1955 | Not sure if it's the good/proper place to fix it, but at least it ensures that callers of replaceNode will insert their instructions after it. |
llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp | ||
---|---|---|
1955 | It's a good idea, but unfortunately, this won't work out because Builder.GetInsertPoint() might be from a different block than InsertPoint. I added a review with a fix - https://reviews.llvm.org/D159209 |
clang-format not found in user’s local PATH; not linting file.