[PATCH] [x86 - inline asm] Favor reg over memory in asm w/ one input parameter
Eric Christopher
echristo at gmail.com
Mon Apr 27 15:55:31 PDT 2015
Hi Gerolf,
I'm not sure this is the right way to go. What I'm assuming (since you don't mention) the case that you have is something where the operand is actually already in a register and you want to just go ahead and use that rather than picking the alternative that copies it to memory? Why not solve that problem by looking through the various possible constraints and if the operand you want is already in a location then pick that and worry about forcing as separate?
-eric
http://reviews.llvm.org/D9271
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list