[clang] [llvm] [mlir] [IR] Explicitly specify target feature for module asm (PR #204548)

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 3 07:17:31 PDT 2026


zmodem wrote:

> When doing a clean build I see several errors like

I was just about to report the same. Local repro on Linux:

```
$ cmake -GNinja -Bbuild.123 -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_PROJECTS=clang -DLLVM_ENABLE_RUNTIMES=compiler-rt -DLLVM_TARGETS_TO_BUILD=X86 llvm/
$ ninja -C build.123 runtimes
...
(a bunch of)
error: 32 bit reloc applied to a field with a different size
```

I assume the buildbots would hit this also if they weren't down for maintenance.

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


More information about the cfe-commits mailing list