[llvm-commits] CVS: llvm/lib/Target/IA64/IA64InstrInfo.td

Duraid Madina duraid at octopus.com.au
Mon Oct 31 19:32:26 PST 2005



Changes in directory llvm/lib/Target/IA64:

IA64InstrInfo.td updated: 1.22 -> 1.23
---
Log message:

so tablegen was thinking I might want to convert FPs to predicates. 
clever little tablegen!



---
Diffs of the changes:  (+3 -4)

 IA64InstrInfo.td |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/IA64/IA64InstrInfo.td
diff -u llvm/lib/Target/IA64/IA64InstrInfo.td:1.22 llvm/lib/Target/IA64/IA64InstrInfo.td:1.23
--- llvm/lib/Target/IA64/IA64InstrInfo.td:1.22	Mon Oct 31 21:07:25 2005
+++ llvm/lib/Target/IA64/IA64InstrInfo.td	Mon Oct 31 21:32:15 2005
@@ -558,12 +558,11 @@
   (FNORMD (FCVTXF (SETFSIG GR:$src)))>;
 def UINT_TO_FP : Pat<(uint_to_fp GR:$src),
   (FNORMD (FCVTXUF (SETFSIG GR:$src)))>;
-/* FIXME: tablegen coughs on these
-def FP_TO_SINT : Pat<(fp_to_sint FP:$src),
+def FP_TO_SINT : Pat<(i64 (fp_to_sint FP:$src)),
   (GETFSIG (FCVTFXTRUNC FP:$src))>;
-def FP_TO_UINT : Pat<(fp_to_uint FP:$src),
+def FP_TO_UINT : Pat<(i64 (fp_to_uint FP:$src)),
   (GETFSIG (FCVTFXUTRUNC FP:$src))>;
-*/
+
 
 let isTerminator = 1, isBranch = 1 in {
   def BRL_NOTCALL : RawForm<0x03, 0xb0, (ops i64imm:$dst),






More information about the llvm-commits mailing list