[PATCH] D52052: [RegAllocGreedy] avoid using physreg candidates that cannot be correctly spilled

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 17 09:05:44 PDT 2018


qcolombet added a comment.

Hi,

Could you elaborate on the exact constraints?

My understanding is that you don't want split code to occur right before this instruction, but I would like to understand exactly what it is not allowed.

Indeed, it would be easy to trick your fix by building an artificial basic block just before that instruction, so it would be good to go back to the constraints and see how we can properly encode them.

Cheers,
-Quentin


https://reviews.llvm.org/D52052





More information about the llvm-commits mailing list