[all-commits] [llvm/llvm-project] 558ea4: [AMDGPU] Reapply 'Sign extend simm16 in setreg int...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Wed Jan 17 17:23:58 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 558ea411599a42d2a15dd6a878700cf62a8b36e7
      https://github.com/llvm/llvm-project/commit/558ea411599a42d2a15dd6a878700cf62a8b36e7
  Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
  Date:   2024-01-17 (Wed, 17 Jan 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/SIModeRegister.cpp
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.setreg.ll

  Log Message:
  -----------
  [AMDGPU] Reapply 'Sign extend simm16 in setreg intrinsic' (#78492)

We currently force users to use a negative contant in the intrinsic
call. Changing it zext would break existing programs, so just sign
extend an argument.




More information about the All-commits mailing list