yonghong-song wrote: Updated a new revision to address @eddyz87 reported issues. Specifically, the changes are: - Check INLINEASM_BR instead of INLINEASM, this is the source of errors reported by @eddyz87 earlier - Use llvm::make_early_inc_range for better code https://github.com/llvm/llvm-project/pull/123482