[VE] Set getExtendForAtomicOps to ISD::ANY_EXTEND
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Tue, 13 Jul 2021 20:01:10 +0000 (05:01 +0900)
committerKazushi (Jam) Marukawa <marukawa@nec.com>
Mon, 19 Jul 2021 10:58:44 +0000 (19:58 +0900)
commit4ee28b4fecade32e679dd96c8bd98b71085a8b14
tree4eb7b091d04270137ea6f70f2c98b63710ad4157
parent12268fe14a1a65d4b62f0b6e5beab46ba8501ae7
[VE] Set getExtendForAtomicOps to ISD::ANY_EXTEND

The implementation of subword atomics does not actually
guarantee the result is zero-extended, which now caused
failures after https://reviews.llvm.org/D101342 was landed.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D106225
llvm/lib/Target/VE/VEISelLowering.h