aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/MathExtrasTest.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-08 13:29:49 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-08 13:33:26 +0000
commite2537f6b1989213b68eabb662b6dd5b4425f43cd (patch)
tree834c0985e15fffc4f5d34e86f7f5d887d37b7278 /llvm/unittests/Support/MathExtrasTest.cpp
parent0851970af5771f6721c29d066c88a72db823ba83 (diff)
downloadllvm-e2537f6b1989213b68eabb662b6dd5b4425f43cd.zip
llvm-e2537f6b1989213b68eabb662b6dd5b4425f43cd.tar.gz
llvm-e2537f6b1989213b68eabb662b6dd5b4425f43cd.tar.bz2
[ValueTracking] Replace dyn_cast with dyn_cast_or_null to account for getTerminator returning null
Noticed while running checks on D117995 - a hexagon regression test was managing to return a block without a terminator
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions