diff options
author | Zakk Chen <zakk.chen@sifive.com> | 2022-03-06 15:05:13 -0800 |
---|---|---|
committer | Zakk Chen <zakk.chen@sifive.com> | 2022-03-06 19:22:35 -0800 |
commit | 3be907621f158f3937e6a6c5fbf45a4b6cd6a414 (patch) | |
tree | c5803dc3d5e05f5ce3201724006dab8cba3a6187 /clang/lib/Basic/Module.cpp | |
parent | ff50e81b500800708db927cbccca2ab52ec11884 (diff) | |
download | llvm-3be907621f158f3937e6a6c5fbf45a4b6cd6a414.zip llvm-3be907621f158f3937e6a6c5fbf45a4b6cd6a414.tar.gz llvm-3be907621f158f3937e6a6c5fbf45a4b6cd6a414.tar.bz2 |
[RISCV] Fix incorrect optimization for masked vmsgeu.vi with 0 immediate.
vmsgeu.vi with 0 is always true, but in the masked with mask undisturbed
policy, we still need to keep inactive elelemt which come from maskedoff.
We could return mask directly if it's mask agnostic policy in the future.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D121080
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions