aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2023-01-12 15:35:24 +0000
committerFraser Cormack <fraser@codeplay.com>2023-01-12 17:31:36 +0000
commitd808ad822a5b49594d5a4955d4d9b3a59a50d360 (patch)
treed460944a6f32e20f0e6db2495673a60db1849468 /clang/lib/Frontend/InitPreprocessor.cpp
parent187d2cdafb493a54c95ff64f989c0fdfa1a27331 (diff)
downloadllvm-d808ad822a5b49594d5a4955d4d9b3a59a50d360.zip
llvm-d808ad822a5b49594d5a4955d4d9b3a59a50d360.tar.gz
llvm-d808ad822a5b49594d5a4955d4d9b3a59a50d360.tar.bz2
[EarlyCSE] Fix crash when optimizing masked loads/stores
With opaque pointers, it is possible for EarlyCSE to encounter masked load/store intrinsics which access the same pointer value but with different incompatible types. These cannot form valid replacements (without explicit casting, which we don't yet do even for regular load/store instructions) so should be prevented. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D141613
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions