[PATCH] D41599: [X86] Lowering X86 avx512 sqrt intrinsics to IR - LLVM

Tomasz Krupa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 5 01:44:38 PDT 2018


tkrupa added inline comments.


================
Comment at: test/CodeGen/X86/avx512-intrinsics-upgrade.ll:4
 
+declare <4 x float> @llvm.x86.avx512.mask.sqrt.ss(<4 x float>, <4 x float>, <4 x float>, i8, i32) nounwind readnone
+
----------------
craig.topper wrote:
> This patch doesn't appear to have removed the scalar intrinsics. I dont' see any AutoUpgrade code or removal from X86InstrinsicsInfo.h
You're right, they only get lowered in clang.  I gave the reasoning in the comment to the last upload.
Is it enough to just move these 4 tests back to test/CodeGen/X86/avx512-intrinsics.ll or is it crucial to also lower them in LLVM part?


Repository:
  rL LLVM

https://reviews.llvm.org/D41599





More information about the llvm-commits mailing list