Skip to content
  • Reid Spencer's avatar
    For PR411: · b4f9a6f1
    Reid Spencer authored
    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.
    
    llvm-svn: 25366
    b4f9a6f1
Loading