1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 2*9880d681SAndroid Build Coastguard Worker %struct.expr = type { %struct.rtx_def*, i32, %struct.expr*, %struct.occr*, %struct.occr*, %struct.rtx_def* } 3*9880d681SAndroid Build Coastguard Worker %struct.hash_table = type { %struct.expr**, i32, i32, i32 } 4*9880d681SAndroid Build Coastguard Worker %struct.occr = type { %struct.occr*, %struct.rtx_def*, i8, i8 } 5*9880d681SAndroid Build Coastguard Worker %struct.rtx_def = type { i16, i8, i8, %struct.u } 6*9880d681SAndroid Build Coastguard Worker %struct.u = type { [1 x i64] } 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Workerdefine void @test() { 9*9880d681SAndroid Build Coastguard Worker %tmp = load i32, i32* null ; <i32> [#uses=1] 10*9880d681SAndroid Build Coastguard Worker %tmp8 = call i32 @hash_rtx( ) ; <i32> [#uses=1] 11*9880d681SAndroid Build Coastguard Worker %tmp11 = urem i32 %tmp8, %tmp ; <i32> [#uses=1] 12*9880d681SAndroid Build Coastguard Worker br i1 false, label %cond_next, label %return 13*9880d681SAndroid Build Coastguard Worker 14*9880d681SAndroid Build Coastguard Workercond_next: ; preds = %0 15*9880d681SAndroid Build Coastguard Worker %gep.upgrd.1 = zext i32 %tmp11 to i64 ; <i64> [#uses=1] 16*9880d681SAndroid Build Coastguard Worker %tmp17 = getelementptr %struct.expr*, %struct.expr** null, i64 %gep.upgrd.1 ; <%struct.expr**> [#uses=0] 17*9880d681SAndroid Build Coastguard Worker ret void 18*9880d681SAndroid Build Coastguard Worker 19*9880d681SAndroid Build Coastguard Workerreturn: ; preds = %0 20*9880d681SAndroid Build Coastguard Worker ret void 21*9880d681SAndroid Build Coastguard Worker} 22*9880d681SAndroid Build Coastguard Worker 23*9880d681SAndroid Build Coastguard Workerdeclare i32 @hash_rtx() 24