[PATCH] D23614: [PPC] Generate positive FP zero using xor insn instead of loading from constant area

Ehsan Amiri via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 19:11:23 PDT 2016


amehsan added inline comments.

================
Comment at: lib/Target/PowerPC/PPCISelLowering.cpp:12117
@@ +12116,3 @@
+
+bool PPCTargetLowering::isFPImmLegal(const APFloat &Imm, EVT VT) const {
+  return Imm.isPosZero() && Subtarget.hasVSX();
----------------
echristo wrote:
> Here's a good point for a comment on things that you expect to work :)
VT!


https://reviews.llvm.org/D23614





More information about the llvm-commits mailing list