[llvm] llvm-extract now supports unnamed basic blocks. (PR #112850)
Allin Lee via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 01:15:09 PDT 2024
AllinLeeYL wrote:
Dear developer:
I have recently working with LLVM IR and I want to isolate basic blocks using the command "llvm-extract". However, I found that the command option "llvm-extract --bb func_name:bb_name" will only function when dumping source code into IRs with options "-fno-discard-value-names". That is to say, the "llvm-extract" command cannot support unnamed basic blocks, which is a default output of the compiler. So, I made these changes and hope they will make LLVM better.
Best regards,
https://github.com/llvm/llvm-project/pull/112850
More information about the llvm-commits
mailing list