brintos

brintos / llvm-project-archived public Read only

0
0
Text · 362 B · 6073d60 Raw
14 lines · plain
1; RUN: opt -passes=sccp -S %s | FileCheck %s2 3@0 = private unnamed_addr constant [16 x i8] c"\01\00\00\00\01\01\00\00\01\01\01\00\01\01\01\01"4 5; CHECK-LABEL: @foo6define i8 @foo() {7entry:8  %0 = add nuw nsw i64 0, -19  %1 = lshr i64 %0, 110  %2 = getelementptr inbounds [4 x [4 x i8]], ptr @0, i64 0, i64 0, i64 %111  %3 = load i8, ptr %2, align 112  ret i8 %313}14