[PATCH] D38300: [x86] Correct the implementation of isTruncateFree to be more accurate

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 9 08:55:28 PST 2017


RKSimon added inline comments.


================
Comment at: test/Analysis/CostModel/X86/trunc.ll:50
+  ; AVX2: cost of 5 {{.*}} %V8i64 = trunc
   %V8i64 = trunc <8 x i64> undef to <8 x i16>
 
----------------
missing AVX512 cost?


================
Comment at: test/Analysis/CostModel/X86/trunc.ll:94
+  ; AVX2: cost of 5 {{.*}} %V8i64 = trunc
   %V8i64 = trunc <8 x i64> undef to <8 x i8>
 
----------------
missing AVX512 cost?


https://reviews.llvm.org/D38300





More information about the llvm-commits mailing list