[all-commits] [llvm/llvm-project] 6b7afa: [AMDGPU][True16] fix a bug in codeGen causing e64 ...

Brox Chen via All-commits all-commits at lists.llvm.org
Mon Aug 12 14:03:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b7afaa9db8f904ebf0262774e38e54b36598782
      https://github.com/llvm/llvm-project/commit/6b7afaa9db8f904ebf0262774e38e54b36598782
  Author: Brox Chen <broxigarchen at outlook.com>
  Date:   2024-08-12 (Mon, 12 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
    A llvm/test/CodeGen/AMDGPU/shrink-true16.mir

  Log Message:
  -----------
  [AMDGPU][True16] fix a bug in codeGen causing e64 with wrong vgpr type to shrink (#102942)

This bug is introduced in
https://github.com/llvm/llvm-project/pull/102198

The previous path change to use realTrue16 flag, however, we have some
t16 instructions that are implemented with fake16, and has Lo128
registers types. Thus we should still using hasTrue16Bit flag for
shrinking check

---------

Co-authored-by: guochen2 <guochen2 at amd.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list