-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
Description
Bugzilla Link | 3351 |
Resolution | FIXED |
Resolved on | Jan 01, 2010 19:23 |
Version | 1.0 |
OS | All |
CC | @efriedma-quic,@nlewycky |
Extended Description
483.xalancbmk retains this awesome constant expr until codegen:
%0 = load i16* getelementptr ([7 x i16]* @​_ZN11xercesc_2_5L17gIdeographicCharsE, i32 0, i32 add (i32 ashr (i32 sub (i32 ptrtoint (i16* getelementptr ([7 x i16]* @​_ZN11xercesc_2_5L17gIdeographicCharsE, i32 0, i32 4) to i32), i32 ptrtoint ([7 x i16]* @​_ZN11xercesc_2_5L17gIdeographicCharsE to i32)), i32 1), i32 1)), align 4 ; <i16> [#uses=0]
This should get folded at the sub.