[all-commits] [llvm/llvm-project] 03d133: AMDGPU: Add test for 16 bit unsigned scratch offse...
Petar Avramovic via All-commits
all-commits at lists.llvm.org
Mon Sep 30 23:57:22 PDT 2024
Branch: refs/heads/release/19.x
Home: https://github.com/llvm/llvm-project
Commit: 03d133728ae14704b262c55bbb72ecd9d048add5
https://github.com/llvm/llvm-project/commit/03d133728ae14704b262c55bbb72ecd9d048add5
Author: Petar Avramovic <Petar.Avramovic at amd.com>
Date: 2024-10-01 (Tue, 01 Oct 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
M llvm/test/CodeGen/AMDGPU/flat-scratch.ll
Log Message:
-----------
AMDGPU: Add test for 16 bit unsigned scratch offsets (#110255)
Large scratch offset with one on highest bit selected as negative,
negative offset has same binary representation in 16 bits as large
unsigned offset.
(cherry picked from commit e9d12a6b451bd403d95105aa976a011dc821f126)
Commit: 962edd3f71eebdcd781222cdd97a561979894003
https://github.com/llvm/llvm-project/commit/962edd3f71eebdcd781222cdd97a561979894003
Author: Petar Avramovic <Petar.Avramovic at amd.com>
Date: 2024-10-01 (Tue, 01 Oct 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/test/CodeGen/AMDGPU/flat-scratch.ll
Log Message:
-----------
AMDGPU: Fix inst-selection of large scratch offsets with sgpr base (#110256)
Use i32 for offset instead of i16, this way it does not get interpreted
as negative 16 bit offset.
(cherry picked from commit 83fe85115da9dc25fa270d2ea8140113c8d49670)
Compare: https://github.com/llvm/llvm-project/compare/53010fcf66b5...962edd3f71ee
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