[all-commits] [llvm/llvm-project] 70579c: [AArch64][GlobalISel] Look into array's element (#...

chuongg3 via All-commits all-commits at lists.llvm.org
Fri Dec 15 02:47:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70579c95bd12cb3035178f80a65718fd94cbf2ea
      https://github.com/llvm/llvm-project/commit/70579c95bd12cb3035178f80a65718fd94cbf2ea
  Author: chuongg3 <chuong.goh at arm.com>
  Date:   2023-12-15 (Fri, 15 Dec 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-fp-loads.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Look into array's element (#74109)

In AArch64RegisterBankInfo, IsFPOrFPType() does not work correctly
with ArrayTypes and StructTypes as it does not not look at their
elements.

This caused some registers to be selected as gpr instead of fpr.




More information about the All-commits mailing list