aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Semantics/pointer-assignment.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2024-07-31 00:28:52 +0800
committerGitHub <noreply@github.com>2024-07-31 00:28:52 +0800
commitd01c0514ab272bc06aa5845acb810d0eec587436 (patch)
tree78e9c7541749eebe2438f6cf2223e17086fdae45 /flang/lib/Semantics/pointer-assignment.cpp
parent8f7910a4fc08818462e0e836db74b20290cd36c7 (diff)
downloadllvm-d01c0514ab272bc06aa5845acb810d0eec587436.zip
llvm-d01c0514ab272bc06aa5845acb810d0eec587436.tar.gz
llvm-d01c0514ab272bc06aa5845acb810d0eec587436.tar.bz2
[RISCV] Fix vmerge.vvm/vmv.v.v getting folded into ops with mismatching EEW (#101152)
As noted in https://github.com/llvm/llvm-project/pull/100367/files#r1695448771, we currently fold in vmerge.vvms and vmv.v.vs into their ops even if the EEW is different which leads to an incorrect transform. This checks the op's EEW via its simple value type for now since there doesn't seem to be any existing information about the EEW size of instructions. We'll probably need to encode this at some point if we want to be able to access it at the MachineInstr level in #100367
Diffstat (limited to 'flang/lib/Semantics/pointer-assignment.cpp')
0 files changed, 0 insertions, 0 deletions