mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
[SLP] Update tests checks, NFC.
llvm-svn: 321869
This commit is contained in:
parent
99819ee246
commit
cda9031784
@ -1,3 +1,4 @@
|
||||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt -S -mtriple=powerpc64-linux-gnu -mcpu=pwr9 -mattr=+vsx -slp-vectorizer < %s | FileCheck %s
|
||||
|
||||
%struct.S = type { i8*, i8* }
|
||||
@ -5,6 +6,14 @@
|
||||
@kS0 = common global %struct.S zeroinitializer, align 8
|
||||
|
||||
define { i64, i64 } @getS() {
|
||||
; CHECK-LABEL: @getS(
|
||||
; CHECK-NEXT: entry:
|
||||
; CHECK-NEXT: [[TMP0:%.*]] = load i64, i64* bitcast (%struct.S* @kS0 to i64*), align 8
|
||||
; CHECK-NEXT: [[TMP1:%.*]] = load i64, i64* bitcast (i8** getelementptr inbounds (%struct.S, %struct.S* @kS0, i64 0, i32 1) to i64*), align 8
|
||||
; CHECK-NEXT: [[TMP2:%.*]] = insertvalue { i64, i64 } undef, i64 [[TMP0]], 0
|
||||
; CHECK-NEXT: [[TMP3:%.*]] = insertvalue { i64, i64 } [[TMP2]], i64 [[TMP1]], 1
|
||||
; CHECK-NEXT: ret { i64, i64 } [[TMP3]]
|
||||
;
|
||||
entry:
|
||||
%0 = load i64, i64* bitcast (%struct.S* @kS0 to i64*), align 8
|
||||
%1 = load i64, i64* bitcast (i8** getelementptr inbounds (%struct.S, %struct.S* @kS0, i64 0, i32 1) to i64*), align 8
|
||||
@ -13,7 +22,3 @@ entry:
|
||||
ret { i64, i64 } %3
|
||||
}
|
||||
|
||||
; CHECK: load i64
|
||||
; CHECK-NOT: load <2 x i64>
|
||||
; CHECK-NOT: extractelement
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt -S -mtriple=x86_64-unknown-linux -mcpu=corei7 -slp-vectorizer < %s | FileCheck %s
|
||||
|
||||
%struct.S = type { i8*, i8* }
|
||||
@ -5,6 +6,14 @@
|
||||
@kS0 = common global %struct.S zeroinitializer, align 8
|
||||
|
||||
define { i64, i64 } @getS() {
|
||||
; CHECK-LABEL: @getS(
|
||||
; CHECK-NEXT: entry:
|
||||
; CHECK-NEXT: [[TMP0:%.*]] = load i64, i64* bitcast (%struct.S* @kS0 to i64*), align 8
|
||||
; CHECK-NEXT: [[TMP1:%.*]] = load i64, i64* bitcast (i8** getelementptr inbounds (%struct.S, %struct.S* @kS0, i64 0, i32 1) to i64*), align 8
|
||||
; CHECK-NEXT: [[TMP2:%.*]] = insertvalue { i64, i64 } undef, i64 [[TMP0]], 0
|
||||
; CHECK-NEXT: [[TMP3:%.*]] = insertvalue { i64, i64 } [[TMP2]], i64 [[TMP1]], 1
|
||||
; CHECK-NEXT: ret { i64, i64 } [[TMP3]]
|
||||
;
|
||||
entry:
|
||||
%0 = load i64, i64* bitcast (%struct.S* @kS0 to i64*), align 8
|
||||
%1 = load i64, i64* bitcast (i8** getelementptr inbounds (%struct.S, %struct.S* @kS0, i64 0, i32 1) to i64*), align 8
|
||||
@ -12,8 +21,3 @@ entry:
|
||||
%3 = insertvalue { i64, i64 } %2, i64 %1, 1
|
||||
ret { i64, i64 } %3
|
||||
}
|
||||
|
||||
; CHECK: load i64
|
||||
; CHECK-NOT: load <2 x i64>
|
||||
; CHECK-NOT: extractelement
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user