diff options
author | Dan Gohman <gohman@apple.com> | 2009-05-31 17:52:18 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-05-31 17:52:18 +0000 |
commit | 3aa0b18ce198855932e697696e846abd224d5b28 (patch) | |
tree | fb0108f8a59540f3b9f5830245b7e0ff7f323fbd /lib/Target/X86 | |
parent | 67e5cc56e6e2d164f9d6007243e90bd14b696771 (diff) | |
download | external_llvm-3aa0b18ce198855932e697696e846abd224d5b28.zip external_llvm-3aa0b18ce198855932e697696e846abd224d5b28.tar.gz external_llvm-3aa0b18ce198855932e697696e846abd224d5b28.tar.bz2 |
Fix a grammaro and clarify a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r-- | lib/Target/X86/X86Instr64bit.td | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/X86/X86Instr64bit.td b/lib/Target/X86/X86Instr64bit.td index 0babaa4..dc15e4a 100644 --- a/lib/Target/X86/X86Instr64bit.td +++ b/lib/Target/X86/X86Instr64bit.td @@ -1588,11 +1588,11 @@ def : Pat<(i8 (trunc GR16:$src)), Requires<[In64BitMode]>; // h-register tricks. -// For now, be conservative and only the extract if the value is immediately -// zero-extended or stored, which are somewhat common cases. This uses a bunch -// of code to prevent a register requiring a REX prefix from being allocated in -// the same instruction as the h register, as there's currently no way to -// describe this requirement to the register allocator. +// For now, be conservative on x86-64 and use an h-register extract only if the +// value is immediately zero-extended or stored, which are somewhat common +// cases. This uses a bunch of code to prevent a register requiring a REX prefix +// from being allocated in the same instruction as the h register, as there's +// currently no way to describe this requirement to the register allocator. // h-register extract and zero-extend. def : Pat<(and (srl_su GR64:$src, (i8 8)), (i64 255)), |