make m_ConstantInt(int64_t) safely match ConstantInt's that are larger than i64.
authorChris Lattner <sabre@nondot.org>
Mon, 5 Jan 2009 23:45:50 +0000 (23:45 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 5 Jan 2009 23:45:50 +0000 (23:45 +0000)
commit06ebbcc71de34fdbf6e652b2b48a2d50b6331ddc
treef56dcef263e061bad33bead5692de19efb95eff7
parent78eb6ad6333ba19d8f5ece81f8b3ac57e6747dfc
make m_ConstantInt(int64_t) safely match ConstantInt's that are larger than i64.
This fixes an instcombine crash on PR3235.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61775 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/PatternMatch.h
test/Transforms/InstCombine/2009-01-05-i128-crash.ll [new file with mode: 0644]