diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-08 13:29:49 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-08 13:33:26 +0000 |
commit | e2537f6b1989213b68eabb662b6dd5b4425f43cd (patch) | |
tree | 834c0985e15fffc4f5d34e86f7f5d887d37b7278 /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 0851970af5771f6721c29d066c88a72db823ba83 (diff) | |
download | llvm-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