[all-commits] [llvm/llvm-project] e07a98: [X86] combineScalarToVector - handle (v2i64 scalar...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Jun 28 05:21:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e07a982693353aad85590301357035e9d583bbbc
      https://github.com/llvm/llvm-project/commit/e07a982693353aad85590301357035e9d583bbbc
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-06-28 (Sun, 28 Jun 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-sext.ll
    M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-zext.ll
    M llvm/test/CodeGen/X86/dagcombine-cse.ll
    M llvm/test/CodeGen/X86/vector-shuffle-128-v8.ll
    M llvm/test/CodeGen/X86/vector-shuffle-256-v16.ll

  Log Message:
  -----------
  [X86] combineScalarToVector - handle (v2i64 scalar_to_vector(aextload)) as well as (v2i64 scalar_to_vector(aext))

We already fold (v2i64 scalar_to_vector(aext)) -> (v2i64 bitcast(v4i32 scalar_to_vector(x))), this adds support for similar aextload cases and also handles v2f64 cases that wrap the i64 extension behind bitcasts.

Fixes the remaining issue with PR39016




More information about the All-commits mailing list