comparison test/CodeGen/SystemZ/int-cmp-45.ll @ 83:60c9769439b8 LLVM3.7

LLVM 3.7
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Wed, 18 Feb 2015 14:55:36 +0900
parents 54457678186b
children afa8332a0e37
comparison
equal deleted inserted replaced
78:af83660cff7b 83:60c9769439b8
1 ; Test that compares are omitted if CC already has the right value 1 ; Test that compares are omitted if CC already has the right value
2 ; (z196 version). 2 ; (z196 version).
3 ; 3 ;
4 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z196 | FileCheck %s 4 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z196 -no-integrated-as | FileCheck %s
5 5
6 ; Addition provides enough for equality comparisons with zero. First teest 6 ; Addition provides enough for equality comparisons with zero. First teest
7 ; the EQ case with LOC. 7 ; the EQ case with LOC.
8 define i32 @f1(i32 %a, i32 %b, i32 *%cptr) { 8 define i32 @f1(i32 %a, i32 %b, i32 *%cptr) {
9 ; CHECK-LABEL: f1: 9 ; CHECK-LABEL: f1: