[all-commits] [llvm/llvm-project] 33ba22: [ARM] Ensure types provided to getIntrinsicCost ar...

David Green via All-commits all-commits at lists.llvm.org
Thu Feb 18 06:00:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33ba220611730db9a5cd27ae60a4f0ee278da745
      https://github.com/llvm/llvm-project/commit/33ba220611730db9a5cd27ae60a4f0ee278da745
  Author: David Green <david.green at arm.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/ARM/cmps.ll

  Log Message:
  -----------
  [ARM] Ensure types provided to getIntrinsicCost are valid

It appears that pointer types were causing issues for the min/max cost
code in getIntrinsicInstrCost. This makes sure that when matching
icmp/select to a min/max, we only do that for normal int or float types.




More information about the All-commits mailing list