Fix PR7658, a problem where type refinement can trigger
authorChris Lattner <sabre@nondot.org>
Sat, 17 Jul 2010 06:13:52 +0000 (06:13 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 17 Jul 2010 06:13:52 +0000 (06:13 +0000)
commit93604b6de20f6a2ce160bfa65ef5d99cc8e577f3
treeca33dd09f707f3552c13d2ec1a52bb7555cb277e
parent21444efae03be297faf5bdb8f16567765307fa9d
Fix PR7658, a problem where type refinement can trigger
constant replacement which was botching its handling of
types.  Use of getType() instead of getRawType() was causing
the type map in constant folding to be updated wrong.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108610 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Constants.cpp
lib/VMCore/ConstantsContext.h