From: Craig Topper Date: Sat, 4 Apr 2015 02:31:43 +0000 (+0000) Subject: [X86] Add a comment about the change in r234075. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d44178733c451f12075b6527580db10ce11c50d;p=platform%2Fupstream%2Fllvm.git [X86] Add a comment about the change in r234075. llvm-svn: 234079 --- diff --git a/llvm/lib/Target/X86/X86InstrCompiler.td b/llvm/lib/Target/X86/X86InstrCompiler.td index e7de24b..227f69a 100644 --- a/llvm/lib/Target/X86/X86InstrCompiler.td +++ b/llvm/lib/Target/X86/X86InstrCompiler.td @@ -1232,6 +1232,8 @@ def : Pat<(store (add (loadi64 addr:$dst), 0x00000000800000000), addr:$dst), // with implicit zero-extension instead of a 64-bit and if the immediate has at // least 32 bits of leading zeros. If in addition the last 32 bits can be // represented with a sign extension of a 8 bit constant, use that. +// This can also reduce instruction size by eliminating the need for the REX +// prefix. let AddedComplexity = 1 in // Give priority over i64immSExt8. def : Pat<(and GR64:$src, i64immZExt32SExt8:$imm),