[all-commits] [llvm/llvm-project] 8acf74: [InstCombine][SVE] Bail out of isSafeToLoadUncondi...

Peter Waller via All-commits all-commits at lists.llvm.org
Wed Jul 13 03:14:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8acf74fd562619be3218df412b0c1b7d89f6ed30
      https://github.com/llvm/llvm-project/commit/8acf74fd562619be3218df412b0c1b7d89f6ed30
  Author: Peter Waller <peter.waller at arm.com>
  Date:   2022-07-13 (Wed, 13 Jul 2022)

  Changed paths:
    M llvm/lib/Analysis/Loads.cpp
    M llvm/test/Transforms/InstCombine/scalable-select.ll

  Log Message:
  -----------
  [InstCombine][SVE] Bail out of isSafeToLoadUnconditionally for scalable types

`isSafeToLoadUnconditionally` currently assumes sized types. Bail out for now.
This fixes a TypeSize warning reachable from instcombine via (load (select
cond, ptr, ptr)).

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




More information about the All-commits mailing list