[PATCH] D26543: Fix for lost FastMathFlags in SLPVectorizer

Vyacheslav Klochkov via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 12:22:21 PST 2016


v_klochkov added a comment.

`Thank you Michael,

I am not sure about what SLPVectorizer does for calls..
If it can replace a series of scalar calls (probably intrinsic calls) with 1 call returning FP-vector, 
then it may want to propagate FAST flags.

For example I can see fast flags in such LLVM IR:

  define double @_Z3foov() #0 {
  entry:
    %call = call fast double @_Z3barv()
    ret double %call
  }

`



================
Comment at: llvm/test/Transforms/SLPVectorizer/X86/propagate_ir_flags.ll:351
  
+attributes #1 = { "target-features"="+avx" }
+
----------------
mzolotukhin wrote:
> Can we put that in the bottom of the file?
Ok, I moved it to the end of the file.


Repository:
  rL LLVM

https://reviews.llvm.org/D26543





More information about the llvm-commits mailing list