From 33de0c6e92e36f3ea25122d1b304f8658c7b7852 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 29 Dec 2007 08:19:39 +0000 Subject: this xform is implemented. llvm-svn: 45404 --- llvm/lib/Target/X86/README.txt | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'llvm/lib') diff --git a/llvm/lib/Target/X86/README.txt b/llvm/lib/Target/X86/README.txt index 46f31164d5d..08b5875c574 100644 --- a/llvm/lib/Target/X86/README.txt +++ b/llvm/lib/Target/X86/README.txt @@ -702,28 +702,6 @@ The add\sub pair is really unneeded here. //===---------------------------------------------------------------------===// -We currently compile sign_extend_inreg into two shifts: - -long foo(long X) { - return (long)(signed char)X; -} - -becomes: - -_foo: - movl 4(%esp), %eax - shll $24, %eax - sarl $24, %eax - ret - -This could be: - -_foo: - movsbl 4(%esp),%eax - ret - -//===---------------------------------------------------------------------===// - Consider the expansion of: uint %test3(uint %X) { -- cgit v1.2.3