[PATCH] [AtomicExpand] Fix a crash bug when lowering unordered loads to cmpxchg
authorPhilip Reames <listmail@philipreames.com>
Tue, 19 Mar 2019 17:20:49 +0000 (17:20 +0000)
committerEmilio Pozuelo Monfort <pochu@debian.org>
Fri, 18 Sep 2020 09:47:25 +0000 (10:47 +0100)
commit9c032c5c3b64b18087742a350f38e19302a3d91d
tree958dd2663225c9499b3f0ad6e3532b71723b780f
parentffdfb6230d9bb8967a9d3ff2e0cb2f2ebae6bc17
[PATCH] [AtomicExpand] Fix a crash bug when lowering unordered loads to cmpxchg

Add tests for wider atomic loads and stores.  In the process, fix a crasher where we appearently handled unorder stores, but not loads, when lowering to cmpxchg idioms.

llvm-svn: 356482

Gbp-Pq: Name AtomicExpand-Fix-a-crash-bug-when-lowering-unordered-loads.patch
lib/CodeGen/AtomicExpandPass.cpp