[all-commits] [llvm/llvm-project] 06fb4e: [CGP] Limit converting phi types to simple loads a...

David Green via All-commits all-commits at lists.llvm.org
Mon Sep 14 04:08:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 06fb4e90649f264a129d3ad2a08fd3492ee78651
      https://github.com/llvm/llvm-project/commit/06fb4e90649f264a129d3ad2a08fd3492ee78651
  Author: David Green <david.green at arm.com>
  Date:   2020-09-14 (Mon, 14 Sep 2020)

  Changed paths:
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/test/CodeGen/AArch64/convertphitype.ll

  Log Message:
  -----------
  [CGP] Limit converting phi types to simple loads and stores

Instcombine limits converting phi types to simple loads and stores. This
does the same in codegenprepare, not processing phis that are not
simple.

Note that volatile loads/store ISel will happily convert between float
and int. Atomics are more likely to always be integer. This just keeps
things simple and doesn't process either.

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




More information about the All-commits mailing list