1; RUN: opt < %s -instcombine -S | grep "ret i32 3679669"
2; PR3595
3
4target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
5target triple = "i386-pc-linux-gnu"
6
7@.str1 = internal constant [4 x i8] c"\B5%8\00"
8
9define i32 @test() {
10  %rhsv = load i32, i32* bitcast ([4 x i8]* @.str1 to i32*), align 1
11  ret i32 %rhsv
12}
13