[PATCH] D130817: [X86][FP16] Fix vector_shuffle and lowering without f16c feature problems

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 30 03:10:08 PDT 2022


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/vector-half-conversions.ll:29
-; ALL:       # %bb.0:
-; ALL-NEXT:    vcvtph2ps %xmm0, %xmm0
-; ALL-NEXT:    retq
----------------
I'm confused as to under what cases we can't use vcvtph2ps for half -> float given all half values are exactly representable by float?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130817



More information about the llvm-commits mailing list