Mercurial > hg > CbC > CbC_llvm
comparison llvm/test/FileCheck/check-dag.txt @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
147:c2174574ed3a | 150:1d019706d866 |
---|---|
1 ; RUN: FileCheck -input-file %s %s | |
2 | |
3 add r10, r1, r2 | |
4 add r11, r3, r4 | |
5 mul r5, r10, r11 | |
6 | |
7 mul r11, r3, r4 | |
8 mul r10, r1, r2 | |
9 add r5, r10, r11 | |
10 | |
11 add r11, r3, r4 | |
12 add r10, r1, r2 | |
13 mul r5, r10, r11 | |
14 | |
15 # begin | |
16 # end | |
17 xor | |
18 | |
19 ; CHECK-DAG: add [[REG1:r[0-9]+]], r1, r2 | |
20 ; CHECK-DAG: add [[REG2:r[0-9]+]], r3, r4 | |
21 ; CHECK: mul r5, [[REG1]], [[REG2]] | |
22 | |
23 ; CHECK-DAG: mul [[REG1:r[0-9]+]], r1, r2 | |
24 ; CHECK-DAG: mul [[REG2:r[0-9]+]], r3, r4 | |
25 ; CHECK: add r5, [[REG1]], [[REG2]] | |
26 | |
27 ; CHECK-DAG: add [[REG1:r[0-9]+]], r1, r2 | |
28 ; CHECK-DAG: add [[REG2:r[0-9]+]], r3, r4 | |
29 ; CHECK-NOT: xor | |
30 ; CHECK-DAG: mul r5, [[REG1]], [[REG2]] | |
31 | |
32 ; CHECK-DAG: begin | |
33 ; CHECK-NOT: xor | |
34 ; CHECK-DAG: end | |
35 ; CHECK: xor |