[llvm] Ensure NoTrapAfterNoreturn is false for the wasm backend (PR #65876)
Matt Harding via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 23 14:51:22 PDT 2023
majaha wrote:
That's not how it works for command line flags corresponding to other unsupported TargetOptions, they are silently unused: https://godbolt.org/z/hszPh535h
There are also [other targets doing similar things](https://github.com/llvm/llvm-project/blob/f435f55d58542ecde0e66460555ccbcbca355cc5/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp#L334) that do not warn when they are overriding command line options: https://godbolt.org/z/j9rhrcn9E
This PR matches what already exists. If you want to add warnings and errors to these command line options, then you should open a separate issue.
https://github.com/llvm/llvm-project/pull/65876
More information about the llvm-commits
mailing list