For PR411:
authorReid Spencer <rspencer@reidspencer.com>
Mon, 16 Jan 2006 21:12:35 +0000 (21:12 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 16 Jan 2006 21:12:35 +0000 (21:12 +0000)
commit0b118206bf3411722707f2e5cab8fd2eedcd50d6
tree1a222f39010130f9e1a5a30f5937bf323b7265eb
parente86bf519e1ea57a84d37422ec364f89c322e3ef4
For PR411:
This patch is an incremental step towards supporting a flat symbol table.
It de-overloads the intrinsic functions by providing type-specific intrinsics
and arranging for automatically upgrading from the old overloaded name to
the new non-overloaded name. Specifically:
  llvm.isunordered -> llvm.isunordered.f32, llvm.isunordered.f64
  llvm.sqrt -> llvm.sqrt.f32, llvm.sqrt.f64
  llvm.ctpop -> llvm.ctpop.i8, llvm.ctpop.i16, llvm.ctpop.i32, llvm.ctpop.i64
  llvm.ctlz -> llvm.ctlz.i8, llvm.ctlz.i16, llvm.ctlz.i32, llvm.ctlz.i64
  llvm.cttz -> llvm.cttz.i8, llvm.cttz.i16, llvm.cttz.i32, llvm.cttz.i64
New code should not use the overloaded intrinsic names. Warnings will be
emitted if they are used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25366 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
docs/LangRef.html
include/llvm/Intrinsics.h
lib/Analysis/ConstantFolding.cpp
lib/AsmParser/llvmAsmParser.cpp
lib/AsmParser/llvmAsmParser.h
lib/AsmParser/llvmAsmParser.y
lib/Bytecode/Reader/Reader.cpp
lib/CodeGen/IntrinsicLowering.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Transforms/Utils/Local.cpp
lib/VMCore/Function.cpp
lib/VMCore/Verifier.cpp