[all-commits] [llvm/llvm-project] 46ef33: [AArch64] Add and cmp cost model tests. NFC

David Green via All-commits all-commits at lists.llvm.org
Thu Jun 29 05:29:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46ef3337ea9947aba3ab8c82b9c6befd24526d55
      https://github.com/llvm/llvm-project/commit/46ef3337ea9947aba3ab8c82b9c6befd24526d55
  Author: David Green <david.green at arm.com>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M llvm/test/Analysis/CostModel/AArch64/cmp.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/extractelements-to-shuffle.ll

  Log Message:
  -----------
  [AArch64] Add and cmp cost model tests. NFC

See D153611. Tests for the cost of icmp(and, 0) are added, in addition to
expanding the extractelements-to-shuffle.ll test, which has always been a bit
simple, to include a more complete example with both a vector and scalar
version. The icmp(and, 0) costs are targetting at improving the second when the
cost of vector inserts and extracts is lowered.




More information about the All-commits mailing list