[llvm] [AMDGPU] Compare VOP literals by their encoded value (PR #218752)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 2 08:35:28 PDT 2026
================
@@ -0,0 +1,5 @@
+// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 6
+// RUN: llvm-mc -triple=amdgpu11.00 -mattr=-real-true16 -show-encoding < %s | FileCheck %s
+
+v_fma_f16 v0, -17, 0xffef, v1
----------------
jayfoad wrote:
SP3 does not accept this because it thinks the literals are different, 0xffffffef and 0x0000ffef. But accepting it seems fine to me.
https://github.com/llvm/llvm-project/pull/218752
More information about the llvm-commits
mailing list