[llvm-branch-commits] [SPARC][IAS] Add support for `prefetcha` instruction (PR #94250)
Sergei Barannikov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jun 3 16:34:16 PDT 2024
================
@@ -557,6 +557,36 @@
! V9: prefetch [%i1+%i2], #one_read ! encoding: [0xc3,0x6e,0x40,0x1a]
prefetch [ %i1 + %i2 ], #one_read
+ ! V8: error: malformed ASI tag, must be a constant integer expression
----------------
s-barannikov wrote:
With the above suggestion it should now yield an "unexpected token" error.
If you wish to get "unavailable in V8" error, you need to pass ParseForAllFeatures == true to MatchOperandParserImpl so that parsePrefetchTag is called in V8 mode too. This will probably result in many test changes and should be done separately.
https://github.com/llvm/llvm-project/pull/94250
More information about the llvm-branch-commits
mailing list