[llvm] [LLVM] Make more use of IRBuilder::CreateIntrinsic. NFC. (PR #112546)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 08:16:28 PDT 2024


jurahul wrote:

Looks like this is causing some build failures due to unused variables:

/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp:1868:13: error: unused variable 'M' [-Werror,-Wunused-variable]
 1868 |     Module *M = IRB.GetInsertBlock()->getParent()->getParent();
      |             ^
1 error generated.

/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp:1028:11: error: unused variable 'M' [-Werror,-Wunused-variable]
 1028 |   Module *M = IRB.GetInsertBlock()->getParent()->getParent();
      |           ^


https://github.com/llvm/llvm-project/pull/112546


More information about the llvm-commits mailing list