[all-commits] [llvm/llvm-project] 93122b: [ARM] Don't look through pointer types in canTailP...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jan 28 00:34:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93122b25673b3b8256d372f04d3813b3e93bc643
      https://github.com/llvm/llvm-project/commit/93122b25673b3b8256d372f04d3813b3e93bc643
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

  Changed paths:
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp

  Log Message:
  -----------
  [ARM] Don't look through pointer types in canTailPredicateLoop()

Inspecting the pointer element type here is incompatible with
opaque pointers, and doesn't seem necessary to me. I think the
intention might have been to check the type of load/store pointer
arguments, but I believe those should get checked through their
return type or value operand anyway. I don't get any test failures
if I simply drop this.

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




More information about the All-commits mailing list