fix rdar://6762290, a crash compiling cxx filt with clang.
authorChris Lattner <sabre@nondot.org>
Tue, 7 Apr 2009 05:03:34 +0000 (05:03 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 7 Apr 2009 05:03:34 +0000 (05:03 +0000)
commit62ce3b31a782a6c8fbb816c75365abfacc820bb6
tree08d68369c816ae8d0532e64fbb26b7a89925a603
parentae7dd8004eb286039ee1eb1a35ddb1ff4eafe460
fix rdar://6762290, a crash compiling cxx filt with clang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68500 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/2009-04-06-GEP-Index-Crash.ll [new file with mode: 0644]