[all-commits] [llvm/llvm-project] 6204ac: [X86] Bale out of X86FastISel::X86SelectCmp for ve...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Mar 23 20:16:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6204ac4536a4d429b83a3a984aa9bc4f5926404f
      https://github.com/llvm/llvm-project/commit/6204ac4536a4d429b83a3a984aa9bc4f5926404f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86FastISel.cpp
    A llvm/test/CodeGen/X86/pr49076.ll

  Log Message:
  -----------
  [X86] Bale out of X86FastISel::X86SelectCmp for vectors.

None of the code in this function was written to handle
vectors.  Most of the cases already fail for vectors for one
reason or another. The exception is an optimization that
detects identical operands. This can be triggered by vectors,
but the code always creates a 0 or 1 constants in a scalar
register which is incorrect for vectors.

Fixes PR49706.




More information about the All-commits mailing list