[PATCH] D47655: [MachineOutliner] Don't outline sequences where x16/x17/nzcv are live across

Gerolf Hoflehner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 13 14:26:03 PDT 2018


Gerolf added inline comments.


================
Comment at: lib/Target/AArch64/AArch64InstrInfo.cpp:4957
+  // candidates.
+  auto CantGuaranteeValueAcrossCall = [](outliner::Candidate &C) {
+    LiveRegUnits LRU = C.LRU;
----------------
Could this be abstracted behind a target-specific interface? Other platforms like x86 etc will have to take care of similar issues and an interface would make this explicit. This could be done in a follow-up commit though. 


https://reviews.llvm.org/D47655





More information about the llvm-commits mailing list