[all-commits] [llvm/llvm-project] 99e797: [X86] Remove shouldCastAtomicLoadInIR; use DAG com...
jofrn via All-commits
all-commits at lists.llvm.org
Fri May 29 00:27:53 PDT 2026
Branch: refs/heads/users/jofrn/x86-remove-shouldcastatomicloadinir-v2
Home: https://github.com/llvm/llvm-project
Commit: 99e797b80fae5bfaf82827457a955faf8d7d0fa7
https://github.com/llvm/llvm-project/commit/99e797b80fae5bfaf82827457a955faf8d7d0fa7
Author: jofrn <jo7frn1 at gmail.com>
Date: 2026-05-29 (Fri, 29 May 2026)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
M llvm/test/Transforms/AtomicExpand/X86/expand-atomic-non-integer.ll
Log Message:
-----------
[X86] Remove shouldCastAtomicLoadInIR; use DAG combine instead
Remove X86's shouldCastAtomicLoadInIR override that cast FP atomic
loads to integer at the IR level. Instead, handle this in a pre-legalize
DAG combine (combineAtomicLoad) that rewrites FP/FP-vector atomic loads
to integer atomic loads plus a bitcast.
This depends on #199310 which adds the necessary cmpxchg support for
non-integer atomic loads in AtomicExpand.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list