[all-commits] [llvm/llvm-project] 23021d: [X86][FP16] Fix vector_shuffle and lowering withou...

Phoebe Wang via All-commits all-commits at lists.llvm.org
Tue Aug 2 07:55:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23021d4d8c6b2c7cbb3ebe1be61cface0c52f80a
      https://github.com/llvm/llvm-project/commit/23021d4d8c6b2c7cbb3ebe1be61cface0c52f80a
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/half.ll
    M llvm/test/CodeGen/X86/vector-half-conversions.ll

  Log Message:
  -----------
  [X86][FP16] Fix vector_shuffle and lowering without f16c feature problems

The problem Alexander reported on D127982 was caused by an optimization
for AVX512-FP16 instruction. We must limit it to the feature enabled only.

During the investigation, I found we didn't expand for fp_round/fp_extend
without F16C. This may result runtime crash, so change them too.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D130817




More information about the All-commits mailing list