]> granicus.if.org Git - llvm/commit
Use an offset from TOS for idempotent rmw locked op lowering
authorPhilip Reames <listmail@philipreames.com>
Tue, 14 May 2019 22:32:42 +0000 (22:32 +0000)
committerPhilip Reames <listmail@philipreames.com>
Tue, 14 May 2019 22:32:42 +0000 (22:32 +0000)
commit321e372b77cf40474796f7341a36b539f91b64f9
tree2924f57a0c230c3eb5fb9ca862a9bca375010c9a
parentf6616c5b9232c4043002329915892ec2b5b055ad
Use an offset from TOS for idempotent rmw locked op lowering

This was the portion split off D58632 so that it could follow the redzone API cleanup. Note that I changed the offset preferred from -8 to -64. The difference should be very minor, but I thought it might help address one concern which had been previously raised.

Differential Revision: https://reviews.llvm.org/D61862

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360719 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/atomic-idempotent.ll
test/CodeGen/X86/speculative-load-hardening.ll