[llvm] [AMDGPU][GlobalISel] Fix assert on APInt creation. (PR #124608)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 17:55:53 PST 2025
================
@@ -0,0 +1,14 @@
+; REQUIRES: asserts
+; RUN: llc -global-isel -mtriple=amdgcn -mcpu=gfx1200 -verify-machineinstrs -stop-after=instruction-select -o - %s | FileCheck %s
+
+; Check that APInt doesn't assert on creation from -2147483648 value.
+
+; CHECK-LABEL: @test
+; CHECK: S_BUFFER_LOAD_DWORD_SGPR_IMM
----------------
arsenm wrote:
use update_mir_test_checks
https://github.com/llvm/llvm-project/pull/124608
More information about the llvm-commits
mailing list