[PATCH] D80744: DAGCombiner optimization for pow(x, 0.75) even in case massv function is asked

Whitney Tsang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 28 18:11:25 PDT 2020


Whitney added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:10943
+  case ISD::FPOW:
+    return LowerFPOW_MASSV(Op, DAG);
 
----------------
move this line up, so `case` and `return` on the same line like others.


================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.h:1063
     SDValue LowerFRAMEADDR(SDValue Op, SelectionDAG &DAG) const;
+    SDValue lowerToLibCall(const char *LibCallName, CallingConv::ID CC,
+                           SDValue Op, SelectionDAG &DAG) const;
----------------
`lowerToLibCall` -> `LowerToLibCall`
follow the same convention as the other function startswith `Lower `


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80744/new/

https://reviews.llvm.org/D80744





More information about the llvm-commits mailing list