[clang] [lld] [llvm] [X86] Implement disabling APX relocations and EPGR/NDD instrs for relocations (PR #136660)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 25 18:49:11 PDT 2025


phoebewang wrote:

> > Any comments?
> 
> Still not understand the requirement...

I'm confused by the test cases too. I understood the code as we replace the EGPR or NDD instructions with non-APX ones, which meets my expection. But the option and tests are in MC phase, which means instructions and registers cannot be changed any more. I think it's not correct to just change the relocation type without changing instructions.

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


More information about the cfe-commits mailing list