diff options
author | Chris Lattner <sabre@nondot.org> | 2007-12-29 08:19:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-12-29 08:19:39 +0000 |
commit | 69bfbdfaeebf366b70a1aa3ba650685493da9e8c (patch) | |
tree | c545bd18ac9aca523d18116b85feea7f26904d68 /lib | |
parent | b15147ea4cc6716924ced6eff65358a95c35bd16 (diff) |
this xform is implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/README.txt | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt index 46f31164d5..08b5875c57 100644 --- a/lib/Target/X86/README.txt +++ b/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) { |