The legalizer generates selects for some operations, which can have constant condition values, resulting in lots of dead code if it's not folded away.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Hello, unless I'm mistaken, this is breaking CodeGen/AArch64/arm64-ldxr-stxr.ll. Can you confirm if that's correct and rollback this commit until it's fixed?
Comment Actions
An important piece of information: this seems to happen only with assertions disabled (-DLLVM_ENABLE_ASSERTIONS=OFF)
Comment Actions
This could be just exposing an existing issue that previously we fell back on, but without asserts we try to continue with codegen.