This assert is intended to ensure that the high registers are not
selected when it is passed to one of the thumb UXT instructions. However
it was triggering even for 32 bit where no UXT instruction is emitted.
Fixes PR51313.
Paths
| Differential D107363
[ARM][atomicrmw] Fix CMP_SWAP_32 expand assert ClosedPublic Authored by tmatheson on Aug 3 2021, 8:48 AM.
Details Summary This assert is intended to ensure that the high registers are not Fixes PR51313.
Diff Detail
Event TimelineHerald added subscribers: danielkiss, hiraditya, kristof.beyls. · View Herald TranscriptAug 3 2021, 8:48 AM dmgreen added inline comments.
Comment Actions LGTM. Thanks
This revision is now accepted and ready to land.Aug 4 2021, 6:20 AM Closed by commit rG40650f27b5df: [ARM][atomicrmw] Fix CMP_SWAP_32 expand assert (authored by tmatheson). · Explain WhyAug 4 2021, 7:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 364094 llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
llvm/test/CodeGen/ARM/cmpxchg.mir
|
I think it needs brackets around the ||