[PATCH] D33181: Don't allow -optimize-regalloc=false with -regalloc given for anything other than 'fast'

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 09:42:36 PDT 2017


qcolombet requested changes to this revision.
qcolombet added inline comments.
This revision now requires changes to proceed.


================
Comment at: lib/CodeGen/TargetPassConfig.cpp:628
+             RegAlloc == &createFastRegisterAllocator) &&
+        "Must use fast (default) register allocator for unoptimized regalloc.");
     addFastRegAlloc(createRegAllocPass(false));
----------------
Agreed with Matthias, that should be a fatal error.


https://reviews.llvm.org/D33181





More information about the llvm-commits mailing list