diff options
author | Luke Lau <luke@igalia.com> | 2025-04-22 22:50:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-22 22:50:12 +0800 |
commit | 980531cac0988e509425e64fbd279ee98e25307c (patch) | |
tree | 841a18c4bc77f8c3920b23f6233952b09dd82585 /clang/lib/AST/ByteCode/Compiler.cpp | |
parent | d51b2785abf77978d9218a7b6fb5b8ec6c770c31 (diff) | |
download | llvm-980531cac0988e509425e64fbd279ee98e25307c.zip llvm-980531cac0988e509425e64fbd279ee98e25307c.tar.gz llvm-980531cac0988e509425e64fbd279ee98e25307c.tar.bz2 |
[VPlan] Fix MayReadFromMemory/MayWriteToMemory on VPWidenIntrinsicRecipe (#136684)
These seem to be the wrong way round, e.g. see the definition at
Instruction::mayReadFromMemory().
If an instruction only writes to memory then it's known to not read
memory, and so on.
Only noticed this when using VPWidenIntrinsicRecipe in a local patch and
wondered why it kept on getting DCEd despite the intrinsic writing to
memory.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions