aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorPeter Waller <peter.waller@arm.com>2020-10-19 10:07:25 +0000
committerPeter Waller <peter.waller@arm.com>2020-10-26 16:37:48 +0000
commit5b742a0c106fbed11779d6dd99854a6f97643524 (patch)
treee76310067b0794ea6ef2239bb78a6878960d3e0d /clang/lib/Basic/SourceManager.cpp
parent6536d6040f5cd20d554901e265519b80dd8119f2 (diff)
downloadllvm-5b742a0c106fbed11779d6dd99854a6f97643524.zip
llvm-5b742a0c106fbed11779d6dd99854a6f97643524.tar.gz
llvm-5b742a0c106fbed11779d6dd99854a6f97643524.tar.bz2
[SVE][CodeGen][DAGCombiner] Fix TypeSize warning in redundant store elimination
The modified code in visitSTORE was missing a scalable vector check, and still using the now deprecated implicit cast of TypeSize to uint64_t through the overloaded operator. This patch fixes these issues. This brings the logic in line with the comment on the context line immediately above the added precondition. Add a test in sve-redundant-store.ll that the warning is not triggered. Differential Revision: https://reviews.llvm.org/D89701
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions