[all-commits] [llvm/llvm-project] 371fdb: [AMDGPU] Sign extend simm16 in setreg intrinsic (#...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Tue Jan 16 09:17:30 PST 2024


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

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

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

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