diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-12-28 09:35:35 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-12-28 09:35:35 +0000 |
commit | 472689a159e6e2d455724d28eef35554daa6667b (patch) | |
tree | f90a9de5aae25898643acdecd7dcb87e28316655 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 5a81bb73ad04277411b007a20a5c95b87c775fe6 (diff) | |
download | llvm-472689a159e6e2d455724d28eef35554daa6667b.zip llvm-472689a159e6e2d455724d28eef35554daa6667b.tar.gz llvm-472689a159e6e2d455724d28eef35554daa6667b.tar.bz2 |
[InstCombine] Check for isa<Instruction> before using cast<>
Protects against casts from constexpr etc.
Reduced from oss-fuzz #4788 test case
llvm-svn: 321515
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions