[all-commits] [llvm/llvm-project] 10d3bf: [PowerPC][AIX] Fallback to DAG-ISEL if global has ...

Sean Fertile via All-commits all-commits at lists.llvm.org
Mon Jan 17 13:24:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10d3bf951841321a4598b31f55c6f4a766703ed4
      https://github.com/llvm/llvm-project/commit/10d3bf951841321a4598b31f55c6f4a766703ed4
  Author: Sean Fertile <sd.fertile at gmail.com>
  Date:   2022-01-17 (Mon, 17 Jan 2022)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCFastISel.cpp
    M llvm/test/CodeGen/PowerPC/toc-data.ll

  Log Message:
  -----------
  [PowerPC][AIX] Fallback to DAG-ISEL if global has toc-data attribute.

FAST-ISEL should fall back to DAG-ISEL when a global variable has the
toc-data attribute. A number of the checks were duplicated in the lit
test becuase of
1) Slightly different output between -O0 and -O2 due to FAST-ISEL vs
   DAG-ISEL codegen.
2) In preperation of a peephole optimization that will run when
   optimizations are enabled.

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




More information about the All-commits mailing list