AArch64: copy all parts of the mem operand across when combining a store
authorTim Northover <t.p.northover@gmail.com>
Thu, 19 Aug 2021 14:15:37 +0000 (15:15 +0100)
committerTim Northover <t.p.northover@gmail.com>
Thu, 19 Aug 2021 17:26:39 +0000 (18:26 +0100)
commitedab411ee6cc67687fcc0a8cf702d1113abe9eb1
treecea6aa2eac3d6c6d2aee3174af8d84605fe3fd8f
parent72ebcd3198327da12804305bda13d9b7088772a8
AArch64: copy all parts of the mem operand across when combining a store

In particular we were dropping volatility, which can lead to unwanted
transformations.
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/volatile-combine.ll [new file with mode: 0644]