[llvm] [AMDGPU] Replace `isInlinableLiteral16` with specific version (PR #81345)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 08:06:57 PST 2024


================
@@ -97,39 +97,34 @@ define i32 @inline_A_constraint_H1() {
 
 ; NOSI: error: invalid operand for inline asm constraint 'A'
 ; VI-LABEL: {{^}}inline_A_constraint_H2:
-; VI: v_mov_b32 {{v[0-9]+}}, 0x3c00
----------------
shiltian wrote:

There is no results anymore because the inline asm parser can't know whether `0x3c00` is an inline constant, so the operand doesn't conform with the constraint `A` therefore it will not be parsed further and constructed as an instruction.

https://github.com/llvm/llvm-project/pull/81345


More information about the llvm-commits mailing list