[all-commits] [llvm/llvm-project] db711f: [X86] Prefer fpext(splat(X)) to splat(fpext(x)).

FreddyLeaf via All-commits all-commits at lists.llvm.org
Mon Jan 16 06:48:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db711f79ef57c96782f3e5093ee9b79509a317a4
      https://github.com/llvm/llvm-project/commit/db711f79ef57c96782f3e5093ee9b79509a317a4
  Author: Freddy Ye <freddy.ye at intel.com>
  Date:   2023-01-16 (Mon, 16 Jan 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/test/CodeGen/X86/prefer-fpext-splat.ll

  Log Message:
  -----------
  [X86] Prefer fpext(splat(X)) to splat(fpext(x)).

This patch is to fix regression of D122875. X86 has fpext instructions
supporting rmb form, which takes advantage of fpext(fplat(X)) than
splat(fpext(X)).

Reviewed By: RKSimon, skan

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




More information about the All-commits mailing list