brintos

brintos / llvm-project-archived public Read only

0
0
Text · 715 B · e0956df Raw
25 lines · plain
1; RUN: opt %loadNPMPolly '-passes=polly-custom<scops>' -polly-print-scops -disable-output < %s 2>&1 | FileCheck %s2;3; CHECK: Region: %if.then6---%return4;5target datalayout ="e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"6 7define void @arc_either() {8entry:9  %ang2.2.reg2mem = alloca i6410  br i1 undef, label %return, label %if.then611 12if.then6:13  %rem7 = srem i64 undef, 147456014  br i1 false, label %if.else, label %return15 16if.else:17  %add16 = add nsw i64 %rem7, 147456018  %rem7.add16 = select i1 undef, i64 %rem7, i64 %add1619  store i64 %rem7.add16, ptr %ang2.2.reg2mem20  br label %return21 22return:23  ret void24}25