1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2 ; RUN: opt < %s -S | FileCheck %s
4 ; Test case where the same meta variable appears twice in a line
6 define i8 @test(i8 %p) {
7 ; CHECK-LABEL: define i8 @test(
8 ; CHECK-SAME: i8 [[P:%.*]]) {
9 ; CHECK-NEXT: [[Q:%.*]] = sub i8 [[P]], 1
10 ; CHECK-NEXT: [[X:%.*]] = mul i8 [[Q]], [[Q]]
11 ; CHECK-NEXT: ret i8 [[X]]