[all-commits] [llvm/llvm-project] 06fee4: [X86] Add isSimple check to the load combine in co...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed May 25 09:11:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06fee478d217a9fbd2ba31f92bc595ed327635a5
      https://github.com/llvm/llvm-project/commit/06fee478d217a9fbd2ba31f92bc595ed327635a5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-05-25 (Wed, 25 May 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/extractelement-load.ll

  Log Message:
  -----------
  [X86] Add isSimple check to the load combine in combineExtractVectorElt.

I think we need to be sure the load isn't volatile before we
duplicate and shrink it.

Reviewed By: spatel

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




More information about the All-commits mailing list