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
committerJoe Ellis <joe.ellis@arm.com>2020-10-26 16:23:42 +0000
commit4604441386dc5fcd3165f4b39f5fa2e2c600f1bc (patch)
treee92175796470eff19fbdd041529b98766ac76948 /clang/lib/Basic/SourceManager.cpp
parentd3024a074be09f6589eccac00cecabccd8258f2d (diff)
downloadllvm-4604441386dc5fcd3165f4b39f5fa2e2c600f1bc.zip
llvm-4604441386dc5fcd3165f4b39f5fa2e2c600f1bc.tar.gz
llvm-4604441386dc5fcd3165f4b39f5fa2e2c600f1bc.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 Redundantstores.ll that the warning is not triggered.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions