1; RUN: llc -mtriple=powerpc64le-unknown-unknown -mcpu=pwr8 -O0 < %s | FileCheck %s 2 3; Just a test case for a crash reported in 4; https://bugs.llvm.org/show_bug.cgi?id=33636 5 6define void @main(i1 %arg) { 7 %constexpr3 = zext i1 %arg to i32 8 %constexpr4 = sdiv i32 1, %constexpr3 9 %constexpr5 = trunc i32 %constexpr4 to i8 10 %constexpr6 = icmp ne i8 %constexpr5, 0 11 %constexpr8 = zext i1 %constexpr6 to i16 12 store i16 %constexpr8, ptr null, align 2 13 ret void 14} 15 16; CHECK: blr 17