When Intrinsic::getName is constructing names for overloaded intrinsics,
authorDan Gohman <gohman@apple.com>
Mon, 20 Aug 2007 19:23:34 +0000 (19:23 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 20 Aug 2007 19:23:34 +0000 (19:23 +0000)
commit7abff319570dd286f2b9529ea7749fe4f97e47f6
tree6fe6c48a3185d9e3992dc1c9719dcab867c8b281
parent0c6dcbb23b935f3dedddd0d90d81649e9bdd1a30
When Intrinsic::getName is constructing names for overloaded intrinsics,
use the ValueType name instead of the llvm type name, to match what the
verifier expects. For integers these are the same, but for floating-point
values the intrinsics use f32/f64 instead of float/double.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41189 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Function.cpp