Two fixes:
authorChris Lattner <sabre@nondot.org>
Sun, 8 Aug 2004 01:30:07 +0000 (01:30 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 8 Aug 2004 01:30:07 +0000 (01:30 +0000)
commit68392422e6f2176b5dc686332a6dd4a69b87f83b
treeffe4e0c8677d760b0878aefcfd882392c9d6aca3
parent5e2e27284bd838af61453571e3989230e675b66f
Two fixes:
1. Fix a REALLY nasty cyclic replacement issue that Anshu discovered, causing
   nondeterminstic crashes and memory corruption.
2. For performance, don't go inserting constantexpr casts of GV pointers.

This should definitely go into 1.3

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15568 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/ExprTypeConvert.cpp