[PATCH] [x86 - inline asm] Favor reg over memory in asm w/ one input parameter

Gerolf Hoflehner ghoflehner at apple.com
Tue Apr 28 20:43:21 PDT 2015


Only give register preference to the parameter when it resides in a register as Eric suggested.


http://reviews.llvm.org/D9271

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  test/CodeGen/X86/inline-asm-rm-constraint.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9271.24595.patch
Type: text/x-patch
Size: 6294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150429/58a5645e/attachment.bin>


More information about the llvm-commits mailing list