Bug fix: use dyn_cast_or_null instead of dyn_cast
authorLawrence Hu <lawrence@codeaurora.org>
Fri, 19 Feb 2016 02:17:07 +0000 (02:17 +0000)
committerLawrence Hu <lawrence@codeaurora.org>
Fri, 19 Feb 2016 02:17:07 +0000 (02:17 +0000)
commit84e6f1dd704a15eeb6d4ca189af60d7b28c3f994
tree007cb4d5c666e933a86b39054b227eadcc3bb29d
parent9a5d3645b4922d65735ef1520df22b6b301666fd
Bug fix: use dyn_cast_or_null instead of dyn_cast

Differential Revision: http://reviews.llvm.org/D17154

llvm-svn: 261299
llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
llvm/test/CodeGen/AArch64/gep-nullptr.ll [new file with mode: 0644]