[clang] [llvm] [llvm] Fix the MCSubtargetInfo used for module-level assembly. (PR #97685)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 18 03:55:19 PDT 2026


nikic wrote:

> I'd be fine with landing this change now, as it makes things less broken than they are now. For module level asm we arguably need a way of attaching target-cpu and target-features to the asm, which is orthogonal to what my change is doing.

I believe that this is the actually correct way to solve this class of problem, and have implemented it in https://github.com/llvm/llvm-project/pull/204548.

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


More information about the cfe-commits mailing list