[PATCH] D86393: [GISel] Add combines for unary FP instrs with constant operand
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 22 10:36:50 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp:1481
+bool CombinerHelper::matchCombineConstantFoldFpUnary(MachineInstr &MI,
+ double &Cst) {
+ Register DstReg = MI.getOperand(0).getReg();
----------------
Why go through double instead of preserving the APFloat?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86393/new/
https://reviews.llvm.org/D86393
More information about the llvm-commits
mailing list