[PATCH] D36569: [globalisel][tablegen] Add support for fpimm and import of APInt/APFloat based ImmLeaf.

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 22 22:36:49 PDT 2018


dsanders added inline comments.


================
Comment at: test/TableGen/GlobalISelEmitter.td:770
+// CHECK-NEXT:    GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // dst
+// CHECK-NEXT:    GIR_CopyFConstantAsFPImm, /*NewInsnID*/0, /*OldInsnID*/0, // imm
+// CHECK-NEXT:    GIR_EraseFromParent, /*InsnID*/0,
----------------
tstellar wrote:
> Is there a reason why  GIR_CopyFConstantAsFPImm was not implemented in InstructionSelector?
The most likely explanation is that there were other issues with importing any of the rules that would have made use of it at the time. Do you have a test case that's hitting this?


https://reviews.llvm.org/D36569





More information about the llvm-commits mailing list