Mark the eh.typeid.for intrinsic as being 'const', which it is inside
authorDuncan Sands <baldrick@free.fr>
Fri, 9 Sep 2011 07:50:37 +0000 (07:50 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 9 Sep 2011 07:50:37 +0000 (07:50 +0000)
commit73c8415d90ad5a702538d8bc308411e7b2299f32
tree84a547927ab39254ab2a3f0560201bd60b1e98d8
parentd3be6ecafec0068e70d034f6467b1d6acf1cb806
Mark the eh.typeid.for intrinsic as being 'const', which it is inside
any given function.  As pointed out by John McCall, this is needed to
have redundant eh.typeid.for tests be eliminated in the presence of
cleanups.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139360 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Intrinsics.td
test/Transforms/GVN/2011-09-07-TypeIdFor.ll