fix PR5016, a crash I introduced in GVN handing first class
authorChris Lattner <sabre@nondot.org>
Mon, 21 Sep 2009 17:24:04 +0000 (17:24 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 21 Sep 2009 17:24:04 +0000 (17:24 +0000)
commit8b2bc3d5746c6094e90c416d72c3646227598ae3
treebf9b5c8ec786a3c210a916e95a5ddb9aff4ba7a8
parentf8349ac8b8534960190d830ee86239a5eade4737
fix PR5016, a crash I introduced in GVN handing first class
arrays and structs, which cannot be bitcast to integers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82460 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/rle.ll