brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.9 KiB · 3869075 Raw
36 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py2; RUN: %if x86-registered-target %{ opt < %s -S -mtriple=x86_64-unknown -passes=slp-vectorizer | FileCheck %s %}3; RUN: %if aarch64-registered-target %{ opt < %s -S -mtriple=aarch64-unknown -passes=slp-vectorizer | FileCheck %s %}4 5; Test for PR49898.6define void @fusion_1506(ptr %temp_buf1) local_unnamed_addr {7; CHECK-LABEL: @fusion_1506(8; CHECK-NEXT:  entry:9; CHECK-NEXT:    [[TMP0:%.*]] = getelementptr inbounds i8, ptr [[TEMP_BUF1:%.*]], i64 562141593610; CHECK-NEXT:    [[TMP1:%.*]] = getelementptr inbounds i8, ptr [[TEMP_BUF1]], i64 727816601611; CHECK-NEXT:    [[TMP2:%.*]] = getelementptr inbounds i8, ptr [[TEMP_BUF1]], i64 509712793612; CHECK-NEXT:    [[TMP5:%.*]] = getelementptr inbounds float, ptr [[TMP1]], i64 undef13; CHECK-NEXT:    store float undef, ptr [[TMP5]], align 1614; CHECK-NEXT:    [[TMP7:%.*]] = getelementptr inbounds float, ptr [[TMP0]], i64 undef15; CHECK-NEXT:    store float undef, ptr [[TMP7]], align 1616; CHECK-NEXT:    [[TMP8:%.*]] = getelementptr inbounds float, ptr [[TMP0]], i64 undef17; CHECK-NEXT:    store float undef, ptr [[TMP8]], align 418; CHECK-NEXT:    [[TMP9:%.*]] = getelementptr inbounds float, ptr [[TMP2]], i64 undef19; CHECK-NEXT:    store float undef, ptr [[TMP9]], align 420; CHECK-NEXT:    ret void21;22entry:23  %0 = getelementptr inbounds i8, ptr %temp_buf1, i64 562141593624  %1 = getelementptr inbounds i8, ptr %temp_buf1, i64 727816601625  %2 = getelementptr inbounds i8, ptr %temp_buf1, i64 509712793626  %3 = getelementptr inbounds float, ptr %1, i64 undef27  store float undef, ptr %3, align 1628  %4 = getelementptr inbounds float, ptr %0, i64 undef29  store float undef, ptr %4, align 1630  %5 = getelementptr inbounds float, ptr %0, i64 undef31  store float undef, ptr %5, align 432  %6 = getelementptr inbounds float, ptr %2, i64 undef33  store float undef, ptr %6, align 434  ret void35}36