[llvm] [Clang][inlineasm] Add special support for "rm" output constraints (PR #92040)

Bill Wendling via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 11:03:28 PDT 2024


================
@@ -496,6 +496,8 @@ class TargetPassConfig : public ImmutablePass {
 void registerCodeGenCallback(PassInstrumentationCallbacks &PIC,
                              LLVMTargetMachine &);
 
+bool usesGreedyOrDefaultRegisterAllocator();
----------------
bwendling wrote:

The problem is that code gen from the ISel DAG messes things up enough that "just spilling" the registers isn't easy at all and will require a heinous hack. But if that's what you want, fine.

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


More information about the llvm-commits mailing list