aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2021-06-06 15:05:32 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2021-06-06 15:25:03 +0100
commit76a1be05fa00638532bfda02839f1847ab15ede7 (patch)
tree86af6449080ee7b45a22b944c27d23073f53b408 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parentd466ca087aae958d1c0a965c561be07d2cb3e7e2 (diff)
downloadllvm-76a1be05fa00638532bfda02839f1847ab15ede7.zip
llvm-76a1be05fa00638532bfda02839f1847ab15ede7.tar.gz
llvm-76a1be05fa00638532bfda02839f1847ab15ede7.tar.bz2
AssumeBundleQueries.cpp - don't dereference a dyn_cast<> result. NFCI.
Use cast<> instead which will assert that the cast is correct and not just return null - the match() should have already failed if the cast isn't valid anyhow. Fixes static analysis warning.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions