[X86] Preserve volatile ATOMIC_LOAD_OR nodes
commite148899ad9f384e77e1440f6cf8b03f5fbbc11d2
authorNabeel Omer <Nabeel.Omer@sony.com>
Tue, 11 Jul 2023 08:00:31 +0000 (11 08:00 +0000)
committerNabeel Omer <Nabeel.Omer@sony.com>
Tue, 11 Jul 2023 08:05:38 +0000 (11 08:05 +0000)
tree1ef05386bcbf38fb0235c88dd83ccee530763f0c
parent7b72920af63d86242fa4a92ffa40d24d4c98f754
[X86] Preserve volatile ATOMIC_LOAD_OR nodes

Fixes #63692.

In reference to volatile memory accesses, the langref says:
> the backend should never split or merge target-legal volatile load/store instructions.

Differential Revision: https://reviews.llvm.org/D154609
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/pr63692.ll