Skip to content
Commit 45c299ef authored by Owen Anderson's avatar Owen Anderson
Browse files

Add a target-specific DAG combine on X86 to fold the common pattern of

fence-atomic-fence down to just the atomic op.  This is possible thanks to
X86's relatively strong memory model, which guarantees that locked instructions
(which are used to implement atomics) are implicit fences.

llvm-svn: 74435
parent 743e7db7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment