[PATCH] D51753: [DAGCombiner] try to convert pow(x, 1/3) to cbrt(x)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 7 00:13:29 PDT 2018


lebedev.ri added inline comments.


================
Comment at: test/CodeGen/X86/pow.ll:2
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
 ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
----------------
There is `_mm_pow_ps()` and `_mm_cbrt_ps()` in SSE.
Maybe there should be an `-mattr=+sse` runline?


https://reviews.llvm.org/D51753





More information about the llvm-commits mailing list