[all-commits] [llvm/llvm-project] a8125b: [X86][Codegen] PR51615: don't replace wide volatil...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Thu Aug 26 08:47:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8125bf4a869fee02ebc49e0699688f768bfde2b
      https://github.com/llvm/llvm-project/commit/a8125bf4a869fee02ebc49e0699688f768bfde2b
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-08-26 (Thu, 26 Aug 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    A llvm/test/CodeGen/X86/pr51615.ll

  Log Message:
  -----------
  [X86][Codegen] PR51615: don't replace wide volatile load with narrow broadcast-from-memory

Even though https://bugs.llvm.org/show_bug.cgi?id=51615
appears to be introduced by D105390, the fix lies here.

We can not replace a wide volatile load with a broadcast-from-memory,
because that would narrow the load, which isn't legal for volatiles.

Reviewed By: spatel

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




More information about the All-commits mailing list