Debian Codegraph @

llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/stable_ir_values6.ll.expected

raw
1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2 ; RUN: opt < %s -S | FileCheck %s
3
4 ; Test case where the same meta variable appears twice in a line
5
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]]
12 ;
13 %r = sub i8 %p, 1
14 %x = mul i8 %r, %r
15 ret i8 %x
16 }