mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[NFC][PowerPC] Consolidate testing of common linkage symbols
Add a new file to test the code gen for common linkage symbol. Remove common linkage in some other testcases to avoid distraction. llvm-svn: 372426
This commit is contained in:
parent
1a7a7c7655
commit
b2118cf9ea
@ -9,7 +9,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
@.str = private unnamed_addr constant [12 x i8] c"Value = %d\0A\00", align 1
|
@.str = private unnamed_addr constant [12 x i8] c"Value = %d\0A\00", align 1
|
||||||
|
|
||||||
; Function Attrs: noinline nounwind
|
; Function Attrs: noinline nounwind
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
; Check CSR split can work properly for tests below.
|
; Check CSR split can work properly for tests below.
|
||||||
|
|
||||||
@a = common dso_local local_unnamed_addr global i32 0, align 4
|
@a = dso_local local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
define dso_local signext i32 @test1(i32* %b) local_unnamed_addr {
|
define dso_local signext i32 @test1(i32* %b) local_unnamed_addr {
|
||||||
; CHECK-PWR9-LABEL: test1:
|
; CHECK-PWR9-LABEL: test1:
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
; Verify that we do NOT generate the mtctr instruction for loop trip counts < 4
|
; Verify that we do NOT generate the mtctr instruction for loop trip counts < 4
|
||||||
; The latency of the mtctr is only justified if there are more than 4 comparisons that are removed as a result.
|
; The latency of the mtctr is only justified if there are more than 4 comparisons that are removed as a result.
|
||||||
|
|
||||||
@a = common local_unnamed_addr global i32 0, align 4
|
@a = local_unnamed_addr global i32 0, align 4
|
||||||
@b = common local_unnamed_addr global i32 0, align 4
|
@b = local_unnamed_addr global i32 0, align 4
|
||||||
@c = common local_unnamed_addr global i32 0, align 4
|
@c = local_unnamed_addr global i32 0, align 4
|
||||||
@d = common local_unnamed_addr global i32 0, align 4
|
@d = local_unnamed_addr global i32 0, align 4
|
||||||
@e = common local_unnamed_addr global i32 0, align 4
|
@e = local_unnamed_addr global i32 0, align 4
|
||||||
@f = common local_unnamed_addr global i32 0, align 4
|
@f = local_unnamed_addr global i32 0, align 4
|
||||||
@arr = common local_unnamed_addr global [5 x i32] zeroinitializer, align 4
|
@arr = local_unnamed_addr global [5 x i32] zeroinitializer, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readonly
|
; Function Attrs: norecurse nounwind readonly
|
||||||
define signext i32 @testTripCount2(i32 signext %a) {
|
define signext i32 @testTripCount2(i32 signext %a) {
|
||||||
|
45
test/CodeGen/PowerPC/elf-common.ll
Normal file
45
test/CodeGen/PowerPC/elf-common.ll
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
||||||
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 -O0 < %s \
|
||||||
|
; RUN: | FileCheck -check-prefix=NOOPT %s
|
||||||
|
; RUN: llc -relocation-model=static -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
|
||||||
|
; RUN: -mcpu=pwr8 < %s | FileCheck -check-prefix=STATIC %s
|
||||||
|
; RUN: llc -relocation-model=pic -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
|
||||||
|
; RUN: -mcpu=pwr8 < %s | FileCheck -check-prefix=PIC %s
|
||||||
|
|
||||||
|
; Test correct code generation for static and pic for loading and storing a common symbol
|
||||||
|
|
||||||
|
@comm_glob = common global i32 0, align 4
|
||||||
|
|
||||||
|
define signext i32 @test_comm() nounwind {
|
||||||
|
; NOOPT-LABEL: test_comm:
|
||||||
|
; NOOPT: # %bb.0: # %entry
|
||||||
|
; NOOPT-NEXT: addis 3, 2, comm_glob@toc@ha
|
||||||
|
; NOOPT-NEXT: addi 3, 3, comm_glob@toc@l
|
||||||
|
; NOOPT-NEXT: lwz 4, 0(3)
|
||||||
|
; NOOPT-NEXT: addi 5, 4, 1
|
||||||
|
; NOOPT-NEXT: stw 5, 0(3)
|
||||||
|
; NOOPT-NEXT: extsw 3, 4
|
||||||
|
; NOOPT-NEXT: blr
|
||||||
|
;
|
||||||
|
; STATIC-LABEL: test_comm:
|
||||||
|
; STATIC: # %bb.0: # %entry
|
||||||
|
; STATIC-NEXT: addis 4, 2, comm_glob@toc@ha
|
||||||
|
; STATIC-NEXT: lwa 3, comm_glob@toc@l(4)
|
||||||
|
; STATIC-NEXT: addi 5, 3, 1
|
||||||
|
; STATIC-NEXT: stw 5, comm_glob@toc@l(4)
|
||||||
|
; STATIC-NEXT: blr
|
||||||
|
;
|
||||||
|
; PIC-LABEL: test_comm:
|
||||||
|
; PIC: # %bb.0: # %entry
|
||||||
|
; PIC-NEXT: addis 3, 2, .LC0@toc@ha
|
||||||
|
; PIC-NEXT: ld 4, .LC0@toc@l(3)
|
||||||
|
; PIC-NEXT: lwa 3, 0(4)
|
||||||
|
; PIC-NEXT: addi 5, 3, 1
|
||||||
|
; PIC-NEXT: stw 5, 0(4)
|
||||||
|
; PIC-NEXT: blr
|
||||||
|
entry:
|
||||||
|
%0 = load i32, i32* @comm_glob, align 4
|
||||||
|
%inc = add nsw i32 %0, 1
|
||||||
|
store i32 %inc, i32* @comm_glob, align 4
|
||||||
|
ret i32 %0
|
||||||
|
}
|
@ -169,8 +169,8 @@ entry:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@b = common local_unnamed_addr global i32 0, align 4
|
@b = local_unnamed_addr global i32 0, align 4
|
||||||
@a = common local_unnamed_addr global i32 0, align 4
|
@a = local_unnamed_addr global i32 0, align 4
|
||||||
; Function Attrs: norecurse nounwind readonly
|
; Function Attrs: norecurse nounwind readonly
|
||||||
define signext i32 @testComplexISEL() #0 {
|
define signext i32 @testComplexISEL() #0 {
|
||||||
entry:
|
entry:
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
%struct.With9fp128params = type { fp128, fp128, fp128, fp128, fp128, fp128,
|
%struct.With9fp128params = type { fp128, fp128, fp128, fp128, fp128, fp128,
|
||||||
fp128, fp128, fp128 }
|
fp128, fp128, fp128 }
|
||||||
|
|
||||||
@a1 = common local_unnamed_addr global [3 x fp128] zeroinitializer, align 16
|
@a1 = local_unnamed_addr global [3 x fp128] zeroinitializer, align 16
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readonly
|
; Function Attrs: norecurse nounwind readonly
|
||||||
define fp128 @testArray_01(fp128* nocapture readonly %sa) {
|
define fp128 @testArray_01(fp128* nocapture readonly %sa) {
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr9 -verify-machineinstrs | FileCheck %s
|
; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr9 -verify-machineinstrs | FileCheck %s
|
||||||
; RUN: llc < %s -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 | FileCheck %s -check-prefix=CHECK-PWR8 -implicit-check-not mod[us][wd]
|
; RUN: llc < %s -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 | FileCheck %s -check-prefix=CHECK-PWR8 -implicit-check-not mod[us][wd]
|
||||||
|
|
||||||
@mod_resultsw = common local_unnamed_addr global i32 0, align 4
|
@mod_resultsw = local_unnamed_addr global i32 0, align 4
|
||||||
@mod_resultud = common local_unnamed_addr global i64 0, align 8
|
@mod_resultud = local_unnamed_addr global i64 0, align 8
|
||||||
@div_resultsw = common local_unnamed_addr global i32 0, align 4
|
@div_resultsw = local_unnamed_addr global i32 0, align 4
|
||||||
@mod_resultuw = common local_unnamed_addr global i32 0, align 4
|
@mod_resultuw = local_unnamed_addr global i32 0, align 4
|
||||||
@div_resultuw = common local_unnamed_addr global i32 0, align 4
|
@div_resultuw = local_unnamed_addr global i32 0, align 4
|
||||||
@div_resultsd = common local_unnamed_addr global i64 0, align 8
|
@div_resultsd = local_unnamed_addr global i64 0, align 8
|
||||||
@mod_resultsd = common local_unnamed_addr global i64 0, align 8
|
@mod_resultsd = local_unnamed_addr global i64 0, align 8
|
||||||
@div_resultud = common local_unnamed_addr global i64 0, align 8
|
@div_resultud = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind
|
; Function Attrs: norecurse nounwind
|
||||||
define void @modulo_sw(i32 signext %a, i32 signext %b) local_unnamed_addr {
|
define void @modulo_sw(i32 signext %a, i32 signext %b) local_unnamed_addr {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
; RUN: llc < %s -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 -verify-machineinstrs | FileCheck %s
|
; RUN: llc < %s -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 -verify-machineinstrs | FileCheck %s
|
||||||
; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr8 -verify-machineinstrs | FileCheck %s
|
; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr8 -verify-machineinstrs | FileCheck %s
|
||||||
|
|
||||||
@perm = common local_unnamed_addr global [100 x i64] zeroinitializer, align 8
|
@perm = local_unnamed_addr global [100 x i64] zeroinitializer, align 8
|
||||||
|
|
||||||
define void @sort_basket() local_unnamed_addr {
|
define void @sort_basket() local_unnamed_addr {
|
||||||
entry:
|
entry:
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
; RUN: llc -mtriple=powerpc64le-linux-gnu -mcpu=pwr8 < %s | FileCheck %s --check-prefix CHECK-LE
|
; RUN: llc -mtriple=powerpc64le-linux-gnu -mcpu=pwr8 < %s | FileCheck %s --check-prefix CHECK-LE
|
||||||
; RUN: llc -mtriple=powerpc64-linux-gnu -mcpu=pwr8 < %s | FileCheck %s --check-prefix CHECK-BE
|
; RUN: llc -mtriple=powerpc64-linux-gnu -mcpu=pwr8 < %s | FileCheck %s --check-prefix CHECK-BE
|
||||||
|
|
||||||
@as = common local_unnamed_addr global i16 0, align 2
|
@as = local_unnamed_addr global i16 0, align 2
|
||||||
@bs = common local_unnamed_addr global i16 0, align 2
|
@bs = local_unnamed_addr global i16 0, align 2
|
||||||
@ai = common local_unnamed_addr global i32 0, align 4
|
@ai = local_unnamed_addr global i32 0, align 4
|
||||||
@bi = common local_unnamed_addr global i32 0, align 4
|
@bi = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
define void @bswapStorei64Toi32() {
|
define void @bswapStorei64Toi32() {
|
||||||
; CHECK-LABEL: bswapStorei64Toi32:
|
; CHECK-LABEL: bswapStorei64Toi32:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-unknown < %s | \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-unknown < %s | \
|
||||||
; RUN: FileCheck %s
|
; RUN: FileCheck %s
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global <4 x float> zeroinitializer, align 4
|
@glob = local_unnamed_addr global <4 x float> zeroinitializer, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind
|
; Function Attrs: norecurse nounwind
|
||||||
define void @test(float %a, <4 x float>* nocapture readonly %b) {
|
define void @test(float %a, <4 x float>* nocapture readonly %b) {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
; RUN: llc -mcpu=pwr9 -mtriple=powerpc64le-unknown-linux-gnu < %s \
|
; RUN: llc -mcpu=pwr9 -mtriple=powerpc64le-unknown-linux-gnu < %s \
|
||||||
; RUN: -verify-machineinstrs | FileCheck %s
|
; RUN: -verify-machineinstrs | FileCheck %s
|
||||||
|
|
||||||
@b = common dso_local local_unnamed_addr global i64* null, align 8
|
@b = dso_local local_unnamed_addr global i64* null, align 8
|
||||||
@a = common dso_local local_unnamed_addr global i8 0, align 1
|
@a = dso_local local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
define void @testADDEPromoteResult() {
|
define void @testADDEPromoteResult() {
|
||||||
entry:
|
entry:
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
; RUN: | FileCheck %s
|
; RUN: | FileCheck %s
|
||||||
|
|
||||||
@x = dso_local local_unnamed_addr global <{ i32, i32, i32, i32, [1020 x i32] }> <{ i32 1, i32 2, i32 3, i32 4, [1020 x i32] zeroinitializer }>, align 4
|
@x = dso_local local_unnamed_addr global <{ i32, i32, i32, i32, [1020 x i32] }> <{ i32 1, i32 2, i32 3, i32 4, [1020 x i32] zeroinitializer }>, align 4
|
||||||
@y = common dso_local global [1024 x i32] zeroinitializer, align 4
|
@y = dso_local global [1024 x i32] zeroinitializer, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind
|
; Function Attrs: norecurse nounwind
|
||||||
define dso_local i32* @foo() local_unnamed_addr #0 {
|
define dso_local i32* @foo() local_unnamed_addr #0 {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
; ModuleID = 'ComparisonTestCases/testComparesieqsc.c'
|
; ModuleID = 'ComparisonTestCases/testComparesieqsc.c'
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_ieqsc(i8 signext %a, i8 signext %b) {
|
define signext i32 @test_ieqsc(i8 signext %a, i8 signext %b) {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
; ModuleID = 'ComparisonTestCases/testComparesieqsi.c'
|
; ModuleID = 'ComparisonTestCases/testComparesieqsi.c'
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_ieqsi(i32 signext %a, i32 signext %b) {
|
define signext i32 @test_ieqsi(i32 signext %a, i32 signext %b) {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
; ModuleID = 'ComparisonTestCases/testComparesieqsll.c'
|
; ModuleID = 'ComparisonTestCases/testComparesieqsll.c'
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_ieqsll(i64 %a, i64 %b) {
|
define signext i32 @test_ieqsll(i64 %a, i64 %b) {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
; ModuleID = 'ComparisonTestCases/testComparesieqss.c'
|
; ModuleID = 'ComparisonTestCases/testComparesieqss.c'
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_ieqss(i16 signext %a, i16 signext %b) {
|
define signext i32 @test_ieqss(i16 signext %a, i16 signext %b) {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
; ModuleID = 'ComparisonTestCases/testComparesiequc.c'
|
; ModuleID = 'ComparisonTestCases/testComparesiequc.c'
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_iequc(i8 zeroext %a, i8 zeroext %b) {
|
define signext i32 @test_iequc(i8 zeroext %a, i8 zeroext %b) {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
; ModuleID = 'ComparisonTestCases/testComparesiequi.c'
|
; ModuleID = 'ComparisonTestCases/testComparesiequi.c'
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_iequi(i32 zeroext %a, i32 zeroext %b) {
|
define signext i32 @test_iequi(i32 zeroext %a, i32 zeroext %b) {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
; ModuleID = 'ComparisonTestCases/testComparesiequll.c'
|
; ModuleID = 'ComparisonTestCases/testComparesiequll.c'
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_iequll(i64 %a, i64 %b) {
|
define signext i32 @test_iequll(i64 %a, i64 %b) {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
; ModuleID = 'ComparisonTestCases/testComparesiequs.c'
|
; ModuleID = 'ComparisonTestCases/testComparesiequs.c'
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_iequs(i16 zeroext %a, i16 zeroext %b) {
|
define signext i32 @test_iequs(i16 zeroext %a, i16 zeroext %b) {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
define signext i32 @test_igesc(i8 signext %a, i8 signext %b) {
|
define signext i32 @test_igesc(i8 signext %a, i8 signext %b) {
|
||||||
; CHECK-LABEL: test_igesc:
|
; CHECK-LABEL: test_igesc:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
define signext i32 @test_igesi(i32 signext %a, i32 signext %b) {
|
define signext i32 @test_igesi(i32 signext %a, i32 signext %b) {
|
||||||
; CHECK-LABEL: test_igesi:
|
; CHECK-LABEL: test_igesi:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
define signext i32 @test_igesll(i64 %a, i64 %b) {
|
define signext i32 @test_igesll(i64 %a, i64 %b) {
|
||||||
; CHECK-LABEL: test_igesll:
|
; CHECK-LABEL: test_igesll:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
define signext i32 @test_igess(i16 signext %a, i16 signext %b) {
|
define signext i32 @test_igess(i16 signext %a, i16 signext %b) {
|
||||||
; CHECK-LABEL: test_igess:
|
; CHECK-LABEL: test_igess:
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_igeuc(i8 zeroext %a, i8 zeroext %b) {
|
define signext i32 @test_igeuc(i8 zeroext %a, i8 zeroext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_igeui(i32 zeroext %a, i32 zeroext %b) {
|
define signext i32 @test_igeui(i32 zeroext %a, i32 zeroext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_igeull(i64 %a, i64 %b) {
|
define signext i32 @test_igeull(i64 %a, i64 %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_igeus(i16 zeroext %a, i16 zeroext %b) {
|
define signext i32 @test_igeus(i16 zeroext %a, i16 zeroext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_igtsc(i8 signext %a, i8 signext %b) {
|
define signext i32 @test_igtsc(i8 signext %a, i8 signext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_igtsi(i32 signext %a, i32 signext %b) {
|
define signext i32 @test_igtsi(i32 signext %a, i32 signext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_igtsll(i64 %a, i64 %b) {
|
define signext i32 @test_igtsll(i64 %a, i64 %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_igtss(i16 signext %a, i16 signext %b) {
|
define signext i32 @test_igtss(i16 signext %a, i16 signext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_igtuc(i8 zeroext %a, i8 zeroext %b) {
|
define signext i32 @test_igtuc(i8 zeroext %a, i8 zeroext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_igtui(i32 zeroext %a, i32 zeroext %b) {
|
define signext i32 @test_igtui(i32 zeroext %a, i32 zeroext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_igtus(i16 zeroext %a, i16 zeroext %b) {
|
define signext i32 @test_igtus(i16 zeroext %a, i16 zeroext %b) {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
define signext i32 @test_ilesc(i8 signext %a, i8 signext %b) {
|
define signext i32 @test_ilesc(i8 signext %a, i8 signext %b) {
|
||||||
; CHECK-LABEL: test_ilesc:
|
; CHECK-LABEL: test_ilesc:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
define signext i32 @test_ilesi(i32 signext %a, i32 signext %b) {
|
define signext i32 @test_ilesi(i32 signext %a, i32 signext %b) {
|
||||||
; CHECK-LABEL: test_ilesi:
|
; CHECK-LABEL: test_ilesi:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
define signext i32 @test_ilesll(i64 %a, i64 %b) {
|
define signext i32 @test_ilesll(i64 %a, i64 %b) {
|
||||||
; CHECK-LABEL: test_ilesll:
|
; CHECK-LABEL: test_ilesll:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
define signext i32 @test_iless(i16 signext %a, i16 signext %b) {
|
define signext i32 @test_iless(i16 signext %a, i16 signext %b) {
|
||||||
; CHECK-LABEL: test_iless:
|
; CHECK-LABEL: test_iless:
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_ileuc(i8 zeroext %a, i8 zeroext %b) {
|
define signext i32 @test_ileuc(i8 zeroext %a, i8 zeroext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_ileui(i32 zeroext %a, i32 zeroext %b) {
|
define signext i32 @test_ileui(i32 zeroext %a, i32 zeroext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_ileull(i64 %a, i64 %b) {
|
define signext i32 @test_ileull(i64 %a, i64 %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_ileus(i16 zeroext %a, i16 zeroext %b) {
|
define signext i32 @test_ileus(i16 zeroext %a, i16 zeroext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_iltsc(i8 signext %a, i8 signext %b) {
|
define signext i32 @test_iltsc(i8 signext %a, i8 signext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_iltsi(i32 signext %a, i32 signext %b) {
|
define signext i32 @test_iltsi(i32 signext %a, i32 signext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_iltsll(i64 %a, i64 %b) {
|
define signext i32 @test_iltsll(i64 %a, i64 %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_iltss(i16 signext %a, i16 signext %b) {
|
define signext i32 @test_iltss(i16 signext %a, i16 signext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_iltuc(i8 zeroext %a, i8 zeroext %b) {
|
define signext i32 @test_iltuc(i8 zeroext %a, i8 zeroext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_iltui(i32 zeroext %a, i32 zeroext %b) {
|
define signext i32 @test_iltui(i32 zeroext %a, i32 zeroext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define signext i32 @test_iltus(i16 zeroext %a, i16 zeroext %b) {
|
define signext i32 @test_iltus(i16 zeroext %a, i16 zeroext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
define signext i32 @test_inesc(i8 signext %a, i8 signext %b) {
|
define signext i32 @test_inesc(i8 signext %a, i8 signext %b) {
|
||||||
; CHECK-LABEL: test_inesc:
|
; CHECK-LABEL: test_inesc:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
define signext i32 @test_inesi(i32 signext %a, i32 signext %b) {
|
define signext i32 @test_inesi(i32 signext %a, i32 signext %b) {
|
||||||
; CHECK-LABEL: test_inesi:
|
; CHECK-LABEL: test_inesi:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
define signext i32 @test_inesll(i64 %a, i64 %b) {
|
define signext i32 @test_inesll(i64 %a, i64 %b) {
|
||||||
; CHECK-LABEL: test_inesll:
|
; CHECK-LABEL: test_inesll:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
define signext i32 @test_iness(i16 signext %a, i16 signext %b) {
|
define signext i32 @test_iness(i16 signext %a, i16 signext %b) {
|
||||||
; CHECK-LABEL: test_iness:
|
; CHECK-LABEL: test_iness:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
define signext i32 @test_ineuc(i8 zeroext %a, i8 zeroext %b) {
|
define signext i32 @test_ineuc(i8 zeroext %a, i8 zeroext %b) {
|
||||||
; CHECK-LABEL: test_ineuc:
|
; CHECK-LABEL: test_ineuc:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
define signext i32 @test_ineui(i32 zeroext %a, i32 zeroext %b) {
|
define signext i32 @test_ineui(i32 zeroext %a, i32 zeroext %b) {
|
||||||
; CHECK-LABEL: test_ineui:
|
; CHECK-LABEL: test_ineui:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
define signext i32 @test_ineull(i64 %a, i64 %b) {
|
define signext i32 @test_ineull(i64 %a, i64 %b) {
|
||||||
; CHECK-LABEL: test_ineull:
|
; CHECK-LABEL: test_ineull:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
define signext i32 @test_ineus(i16 zeroext %a, i16 zeroext %b) {
|
define signext i32 @test_ineus(i16 zeroext %a, i16 zeroext %b) {
|
||||||
; CHECK-LABEL: test_ineus:
|
; CHECK-LABEL: test_ineus:
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
; ModuleID = 'ComparisonTestCases/testCompareslleqsc.c'
|
; ModuleID = 'ComparisonTestCases/testCompareslleqsc.c'
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_lleqsc(i8 signext %a, i8 signext %b) {
|
define i64 @test_lleqsc(i8 signext %a, i8 signext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_lleqsi(i32 signext %a, i32 signext %b) {
|
define i64 @test_lleqsi(i32 signext %a, i32 signext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_lleqsll(i64 %a, i64 %b) {
|
define i64 @test_lleqsll(i64 %a, i64 %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_lleqss(i16 signext %a, i16 signext %b) {
|
define i64 @test_lleqss(i16 signext %a, i16 signext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llequc(i8 zeroext %a, i8 zeroext %b) {
|
define i64 @test_llequc(i8 zeroext %a, i8 zeroext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llequi(i32 zeroext %a, i32 zeroext %b) {
|
define i64 @test_llequi(i32 zeroext %a, i32 zeroext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llequll(i64 %a, i64 %b) {
|
define i64 @test_llequll(i64 %a, i64 %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llequs(i16 zeroext %a, i16 zeroext %b) {
|
define i64 @test_llequs(i16 zeroext %a, i16 zeroext %b) {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
define i64 @test_llgesc(i8 signext %a, i8 signext %b) {
|
define i64 @test_llgesc(i8 signext %a, i8 signext %b) {
|
||||||
; CHECK-LABEL: test_llgesc:
|
; CHECK-LABEL: test_llgesc:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
define i64 @test_llgesi(i32 signext %a, i32 signext %b) {
|
define i64 @test_llgesi(i32 signext %a, i32 signext %b) {
|
||||||
; CHECK-LABEL: test_llgesi:
|
; CHECK-LABEL: test_llgesi:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
define i64 @test_llgesll(i64 %a, i64 %b) {
|
define i64 @test_llgesll(i64 %a, i64 %b) {
|
||||||
; CHECK-LABEL: test_llgesll:
|
; CHECK-LABEL: test_llgesll:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
define i64 @test_llgess(i16 signext %a, i16 signext %b) {
|
define i64 @test_llgess(i16 signext %a, i16 signext %b) {
|
||||||
; CHECK-LABEL: test_llgess:
|
; CHECK-LABEL: test_llgess:
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llgeuc(i8 zeroext %a, i8 zeroext %b) {
|
define i64 @test_llgeuc(i8 zeroext %a, i8 zeroext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llgeui(i32 zeroext %a, i32 zeroext %b) {
|
define i64 @test_llgeui(i32 zeroext %a, i32 zeroext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llgeull(i64 %a, i64 %b) {
|
define i64 @test_llgeull(i64 %a, i64 %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llgeus(i16 zeroext %a, i16 zeroext %b) {
|
define i64 @test_llgeus(i16 zeroext %a, i16 zeroext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llgtsll(i64 %a, i64 %b) {
|
define i64 @test_llgtsll(i64 %a, i64 %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llgtuc(i8 zeroext %a, i8 zeroext %b) {
|
define i64 @test_llgtuc(i8 zeroext %a, i8 zeroext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llgtui(i32 zeroext %a, i32 zeroext %b) {
|
define i64 @test_llgtui(i32 zeroext %a, i32 zeroext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llgtus(i16 zeroext %a, i16 zeroext %b) {
|
define i64 @test_llgtus(i16 zeroext %a, i16 zeroext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
define i64 @test_lllesc(i8 signext %a, i8 signext %b) {
|
define i64 @test_lllesc(i8 signext %a, i8 signext %b) {
|
||||||
; CHECK-LABEL: test_lllesc:
|
; CHECK-LABEL: test_lllesc:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
define i64 @test_lllesi(i32 signext %a, i32 signext %b) {
|
define i64 @test_lllesi(i32 signext %a, i32 signext %b) {
|
||||||
; CHECK-LABEL: test_lllesi:
|
; CHECK-LABEL: test_lllesi:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -O2 \
|
||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_lllesll(i64 %a, i64 %b) {
|
define i64 @test_lllesll(i64 %a, i64 %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
define i64 @test_llless(i16 signext %a, i16 signext %b) {
|
define i64 @test_llless(i16 signext %a, i16 signext %b) {
|
||||||
; CHECK-LABEL: test_llless:
|
; CHECK-LABEL: test_llless:
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llleuc(i8 zeroext %a, i8 zeroext %b) {
|
define i64 @test_llleuc(i8 zeroext %a, i8 zeroext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llleui(i32 zeroext %a, i32 zeroext %b) {
|
define i64 @test_llleui(i32 zeroext %a, i32 zeroext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llleull(i64 %a, i64 %b) {
|
define i64 @test_llleull(i64 %a, i64 %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llleus(i16 zeroext %a, i16 zeroext %b) {
|
define i64 @test_llleus(i16 zeroext %a, i16 zeroext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llltsll(i64 %a, i64 %b) {
|
define i64 @test_llltsll(i64 %a, i64 %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i8 0, align 1
|
@glob = local_unnamed_addr global i8 0, align 1
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llltuc(i8 zeroext %a, i8 zeroext %b) {
|
define i64 @test_llltuc(i8 zeroext %a, i8 zeroext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i32 0, align 4
|
@glob = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llltui(i32 zeroext %a, i32 zeroext %b) {
|
define i64 @test_llltui(i32 zeroext %a, i32 zeroext %b) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl \
|
||||||
; RUN: --check-prefixes=CHECK,LE
|
; RUN: --check-prefixes=CHECK,LE
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i16 0, align 2
|
@glob = local_unnamed_addr global i16 0, align 2
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind readnone
|
; Function Attrs: norecurse nounwind readnone
|
||||||
define i64 @test_llltus(i16 zeroext %a, i16 zeroext %b) {
|
define i64 @test_llltus(i16 zeroext %a, i16 zeroext %b) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
define i64 @test_llnesll(i64 %a, i64 %b) {
|
define i64 @test_llnesll(i64 %a, i64 %b) {
|
||||||
; CHECK-LABEL: test_llnesll:
|
; CHECK-LABEL: test_llnesll:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
; RUN: -ppc-gpr-icmps=all -ppc-asm-full-reg-names -mcpu=pwr8 < %s | FileCheck %s --check-prefix=CHECK-LE \
|
||||||
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
; RUN: --implicit-check-not cmpw --implicit-check-not cmpd --implicit-check-not cmpl
|
||||||
|
|
||||||
@glob = common local_unnamed_addr global i64 0, align 8
|
@glob = local_unnamed_addr global i64 0, align 8
|
||||||
|
|
||||||
define i64 @test_llneull(i64 %a, i64 %b) {
|
define i64 @test_llneull(i64 %a, i64 %b) {
|
||||||
; CHECK-LABEL: test_llneull:
|
; CHECK-LABEL: test_llneull:
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
; to zero can be simplifed by using the record form when one of its operands
|
; to zero can be simplifed by using the record form when one of its operands
|
||||||
; is known to be zero extended.
|
; is known to be zero extended.
|
||||||
|
|
||||||
@k = common local_unnamed_addr global i32 0, align 4
|
@k = local_unnamed_addr global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: norecurse nounwind
|
; Function Attrs: norecurse nounwind
|
||||||
define signext i32 @cmplwi(i32* nocapture readonly %p, i32* nocapture readonly %q, i32 signext %j, i32 signext %r10) {
|
define signext i32 @cmplwi(i32* nocapture readonly %p, i32* nocapture readonly %q, i32 signext %j, i32 signext %r10) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user