Similarly to D158861 I'm moving the CreateFree method from CallInst to IRBuilderBase.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/examples/BrainF/BrainF.cpp | ||
---|---|---|
131 | This doesn't look right to me: At this point the terminator is not inserted yet, so this should be inserting at endbb->end() as before. |
llvm/include/llvm/IR/Instructions.h | ||
---|---|---|
1637 | Should also remove the three CreateFree declarations above. |
- Rebase
- Insert at endbb->end() as before.
- Remove left-over declarations of CreateFree
- Format
llvm/examples/BrainF/BrainF.cpp | ||
---|---|---|
132 | I don't think this is going to compile. Should be something like builder->SetInsertPoint(endbb); You probably need to pass -DLLVM_BUILD_EXAMPLES=ON to cmake to build this code. | |
llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp | ||
1405 | I think you may need an IRB.SetInsertPoint(I) here? I'm not sure what the insertion point of this IRB is at this point. |
llvm/examples/BrainF/BrainF.cpp | ||
---|---|---|
132 | I have this setting on -DLLVM_BUILD_EXAMPLES=ON`: $ grep LLVM_BUILD_EXAMPLES CMakeCache.txt LLVM_BUILD_EXAMPLES:STRING=On //Path for examples subdirectory (enabled by LLVM_BUILD_EXAMPLES=ON) But I have changed it to what you wanted. |
This doesn't look right to me: At this point the terminator is not inserted yet, so this should be inserting at endbb->end() as before.