brintos

brintos / llvm-project-archived public Read only

0
0
Text · 478 B · 6664791 Raw
17 lines · plain
1; RUN: llc -mtriple=powerpc64le-unknown-unknown -mcpu=pwr8 -O0 < %s | FileCheck %s2 3; Just a test case for a crash reported in4; https://bugs.llvm.org/show_bug.cgi?id=336365 6define void @main(i1 %arg) {7  %constexpr3 = zext i1 %arg to i328  %constexpr4 = sdiv i32 1, %constexpr39  %constexpr5 = trunc i32 %constexpr4 to i810  %constexpr6 = icmp ne i8 %constexpr5, 011  %constexpr8 = zext i1 %constexpr6 to i1612  store i16 %constexpr8, ptr null, align 213  ret void14}15 16; CHECK: blr17