[all-commits] [llvm/llvm-project] 3f8184: [AArch64] Add Extract(DUP(C)) as a canonical const...

David Green via All-commits all-commits at lists.llvm.org
Tue Jun 21 01:51:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f81841474fefcf10fea0ed7fc21f47af3c7b80a
      https://github.com/llvm/llvm-project/commit/3f81841474fefcf10fea0ed7fc21f47af3c7b80a
  Author: David Green <david.green at arm.com>
  Date:   2022-06-21 (Tue, 21 Jun 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/test/CodeGen/AArch64/arm64-dup.ll

  Log Message:
  -----------
  [AArch64] Add Extract(DUP(C)) as a canonical constant.

As a followup to D128144, this adds extract(DUP(C)) as a canonical
constant to prevent it being transformed back into a BUILD_VECTOR,
leading to an infinite loop.




More information about the All-commits mailing list