[all-commits] [llvm/llvm-project] 463910: [X86] Don't fold scalar_to_vector(i64 C) -> vzext_...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Dec 14 04:11:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 463910ab2a8d95dd08ddba60f81b418693c8ee5b
      https://github.com/llvm/llvm-project/commit/463910ab2a8d95dd08ddba60f81b418693c8ee5b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vec_insert-7.ll
    M llvm/test/CodeGen/X86/vector-shuffle-combining.ll

  Log Message:
  -----------
  [X86] Don't fold scalar_to_vector(i64 C) -> vzext_movl(scalar_to_vector(i32 C))

Fixes constant-folding infinite loop reported by @uabelho on rG5ca77541446d




More information about the All-commits mailing list