aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileSystemStatCache.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-10-21 12:42:47 +0200
committerNikita Popov <npopov@redhat.com>2024-10-21 12:47:02 +0200
commita18dd29077c84fc076a4ed431d9e815a3d0b6f24 (patch)
tree9a9cb53cbe7ce33ffbd8312bfc6889acbafa6e4c /clang/lib/Basic/FileSystemStatCache.cpp
parentd906ac52ab8ee46090a6696f4ffb34c40ee6abb7 (diff)
downloadllvm-a18dd29077c84fc076a4ed431d9e815a3d0b6f24.zip
llvm-a18dd29077c84fc076a4ed431d9e815a3d0b6f24.tar.gz
llvm-a18dd29077c84fc076a4ed431d9e815a3d0b6f24.tar.bz2
[ConstantFolding] Set signed/implicitTrunc when handling GEP offsets
GEP offsets have sext_or_trunc semantics. We were already doing this for the outer-most GEP, but not for the inner ones. I believe one of the sanitizer buildbot failures was due to this, but I did not manage to reproduce the issue or come up with a test case. Usually the problematic case will already be folded away due to index type canonicalization.
Diffstat (limited to 'clang/lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions