[llvm] [X86] Lowering of load atomic float via cast (PR #117189)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 16:18:25 PST 2024


================
@@ -30976,6 +30976,14 @@ bool X86TargetLowering::needsCmpXchgNb(Type *MemType) const {
   return false;
 }
 
+TargetLoweringBase::AtomicExpansionKind
----------------
arsenm wrote:

I would like to get rid of this hook. Directly promoting atomic_load to int in codegen, like any other operation, shouldn't be difficult 

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


More information about the llvm-commits mailing list