[llvm] [BOLT][Linux] Support ORC for alternative instructions (PR #96709)

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 16:36:15 PDT 2024


================
@@ -313,6 +310,9 @@ class LinuxKernelRewriter final : public MetadataRewriter {
     if (Error E = readAltInstructions())
       return E;
 
+    if (Error E = readORCTables())
+      return E;
----------------
dcci wrote:

we might want to add a comment here explaining why there's this order, i.e. we first have to read `.parainstruction` and `.altrinstruction` as they're a dependency for ORC

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


More information about the llvm-commits mailing list