Chris Lattner
8136d1f8cb
Constant fold shifts, turning this loop:
.LBB_Z5test0PdS__3: # no_exit.1
fldl data(,%eax,8)
fldl 24(%esp)
faddp %st(1)
fstl 24(%esp)
incl %eax
movl $16000, %ecx
sarl $3, %ecx
cmpl %eax, %ecx
fstpl 16(%esp)
#FP_REG_KILL
jg .LBB_Z5test0PdS__3 # no_exit.1
into:
.LBB_Z5test0PdS__3: # no_exit.1
fldl data(,%eax,8)
fldl 24(%esp)
faddp %st(1)
fstl 24(%esp)
incl %eax
cmpl $2000, %eax
fstpl 16(%esp)
#FP_REG_KILL
jl .LBB_Z5test0PdS__3 # no_exit.1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19427 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-10 00:07:15 +00:00
..
2005-01-10 00:07:15 +00:00
2005-01-08 19:59:10 +00:00
2004-09-01 22:55:40 +00:00
2004-07-29 17:30:56 +00:00
2004-12-04 01:22:09 +00:00
2004-11-18 04:31:10 +00:00
2005-01-08 19:55:00 +00:00
2004-12-07 04:03:45 +00:00
2004-10-25 18:44:14 +00:00
2004-10-26 15:43:42 +00:00
2004-11-22 21:54:35 +00:00
2005-01-08 19:55:00 +00:00
2004-10-15 04:38:41 +00:00
2004-10-27 23:18:45 +00:00
2004-09-01 22:55:40 +00:00
2004-09-01 22:55:40 +00:00
2004-08-29 22:00:24 +00:00
2005-01-08 19:53:50 +00:00
2005-01-08 19:53:50 +00:00
2004-10-26 15:35:58 +00:00
2004-09-01 22:55:40 +00:00
2005-01-02 02:34:12 +00:00
2004-09-01 22:55:40 +00:00
2004-10-26 15:35:58 +00:00
2004-10-01 23:15:36 +00:00