15 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 22; RUN: opt -S -mtriple=x86_64-- -codegenprepare < %s | FileCheck %s3 4define i1 @test(i32 %arg) {5; CHECK-LABEL: define i1 @test6; CHECK-SAME: (i32 [[ARG:%.*]]) {7; CHECK-NEXT: [[CMP:%.*]] = icmp ne i32 [[ARG]], [[ARG]]8; CHECK-NEXT: [[SUB:%.*]] = sub i32 [[ARG]], [[ARG]]9; CHECK-NEXT: ret i1 [[CMP]]10;11 %cmp = icmp ne i32 %arg, %arg12 %sub = sub i32 %arg, %arg13 ret i1 %cmp14}15