summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-06-29 18:04:45 +0000
committerOwen Anderson <resistor@mac.com>2009-06-29 18:04:45 +0000
commit45c299ef65e4895219909de19c2b8f4bd02feb70 (patch)
tree5ddb9bb70dc888c3657619e1bbf45cf9183ebc7e /clang/lib/CodeGen/CodeGenModule.cpp
parent743e7db794ab552684504739d0afbf98199bef18 (diff)
downloadbcm5719-llvm-45c299ef65e4895219909de19c2b8f4bd02feb70.tar.gz
bcm5719-llvm-45c299ef65e4895219909de19c2b8f4bd02feb70.zip
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud