[llvm] [NVPTX] Do not run the NVVMReflect pass as part of the normal pipeline (PR #121834)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 13:09:58 PST 2025


jhuber6 wrote:

> Hi
> 
> This PR is causing problems in some cases where LLVM is being used as a library and so where the command-line flags might not be set - that is, we've got another version of the asan failure above in https://github.com/iree-org/iree/actions/runs/12759006193/job/35562065903?pr=19683 as shown below.
> 
> From what I can tell, `getMCPU()` isn't meant to be how you get the CPU string out of a command-line tool, and this should be looked up from the target triple instead.
> 
> Would you be willing to fix this?
> Failure log

Oh I can probably remove that, I thought it only showed up when called from `opt` directly.

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


More information about the llvm-commits mailing list