[llvm] [Xtensa] Implement lowering SELECT_CC, SETCC. (PR #97017)

Andrei Safronov via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 04:15:52 PDT 2024


================
@@ -109,6 +109,13 @@ class string:
     flags=(re.M | re.S),
 )
 
+ASM_FUNCTION_XTENSA_RE = re.compile(
+    r'^_?(?P<func>[^.:]+):[ \t]*#+[ \t]*@"?(?P=func)"?\n# %bb.0:\n'
+    r'(?P<body>.*?)\n'
+    r'^\.Lfunc_end\d+:\n',  # Match the end label
+    flags=(re.M | re.S)
+)
----------------
andreisfr wrote:

I removed asm.py modification from this PR

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


More information about the llvm-commits mailing list