On Sep 28, 2007, at 10:00 AM, Chris Lattner wrote: > Hi Dale, >> >> def int_powi_f32 : Intrinsic<[llvm_float_ty, llvm_float_ty, >> llvm_i32_ty]>; >> def int_powi_f64 : Intrinsic<[llvm_double_ty, llvm_double_ty, >> llvm_i32_ty]>; >> + def int_powi_f80 : Intrinsic<[llvm_f80_ty, llvm_f80_ty, >> llvm_i32_ty]>; >> + def int_powi_f128 : Intrinsic<[llvm_f128_ty, llvm_f128_ty, >> llvm_i32_ty]>; >> + def int_powi_ppcf128 : Intrinsic<[llvm_ppcf128_ty, >> llvm_ppcf128_ty, >> + llvm_i32_ty]>; >> } > > Why not use anyfp? This would allow us to have one sqrt and one powi > definition.
Hard to explain; it just feels like the sort of thing where all the values ought to be spelled out. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits