OSDN Git Service

Factor out the code for picking integer arithmetic with immediate
authorDan Gohman <gohman@apple.com>
Wed, 19 May 2010 00:53:19 +0000 (00:53 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 19 May 2010 00:53:19 +0000 (00:53 +0000)
commit7c2e03916c22d9ad1d8596ad00dee04a9f1454ed
treea76c12336ce4f17a8d93f7e7ba4f1175e650c4c0
parentcc6b6b934894ae141bd5cdf3ddffc60e48f554af
Factor out the code for picking integer arithmetic with immediate
opcodes into a helper function. This fixes a few places in the code
which were not properly selecting the 8-bit-immediate opcodes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104091 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp