[llvm-branch-commits] [llvm] [SPARC][MC] Add tests for VIS family instructions (PR #130967)

Sergei Barannikov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Mar 22 12:32:54 PDT 2025


================
@@ -82,6 +82,8 @@ def UseDeprecatedInsts : Predicate<"Subtarget->useV8DeprecatedInsts()">;
 // Instruction Pattern Stuff
 //===----------------------------------------------------------------------===//
 
+def siam_mode : PatLeaf<(imm), [{ return isUInt<3>(N->getZExtValue()); }]>;
----------------
s-barannikov wrote:

```suggestion
def uimm3 : PatLeaf<(imm), [{ return isUInt<3>(N->getZExtValue()); }]>;
```

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


More information about the llvm-branch-commits mailing list