[llvm] [X86] Lowering of load atomic float via cast (PR #117189)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 2 15:57:16 PST 2024
================
@@ -4255,9 +4255,10 @@ void Verifier::visitLoadInst(LoadInst &LI) {
Check(LI.getOrdering() != AtomicOrdering::Release &&
LI.getOrdering() != AtomicOrdering::AcquireRelease,
"Load cannot have Release ordering", &LI);
- Check(ElTy->isIntOrPtrTy() || ElTy->isFloatingPointTy(),
- "atomic load operand must have integer, pointer, or floating point "
- "type!",
+ Check(ElTy->getScalarType()->isIntOrPtrTy() ||
----------------
arsenm wrote:
This PR shouldn't touch the verifier, only handle codegen for atomic load / store
https://github.com/llvm/llvm-project/pull/117189
More information about the llvm-commits
mailing list