|
21 | 21 |
|
22 | 22 | // CC1-LOONGARCH64: "-target-cpu" "loongarch64" |
23 | 23 | // CC1-LOONGARCH64-NOT: "-target-feature" |
24 | | -// CC1-LOONGARCH64: "-target-feature" "+64bit" "-target-feature" "+f" "-target-feature" "+d" "-target-feature" "+ual" |
| 24 | +// CC1-LOONGARCH64: "-target-feature" "+relax" "-target-feature" "+64bit" "-target-feature" "+f" "-target-feature" "+d" "-target-feature" "+ual" |
25 | 25 | // CC1-LOONGARCH64-NOT: "-target-feature" |
26 | 26 | // CC1-LOONGARCH64: "-target-abi" "lp64d" |
27 | 27 |
|
28 | 28 | // CC1-LA464: "-target-cpu" "la464" |
29 | 29 | // CC1-LA464-NOT: "-target-feature" |
30 | | -// CC1-LA464: "-target-feature" "+64bit" "-target-feature" "+f" "-target-feature" "+d" "-target-feature" "+lsx" "-target-feature" "+lasx" "-target-feature" "+ual" |
| 30 | +// CC1-LA464: "-target-feature" "+relax" "-target-feature" "+64bit" "-target-feature" "+f" "-target-feature" "+d" "-target-feature" "+lsx" "-target-feature" "+lasx" "-target-feature" "+ual" |
31 | 31 | // CC1-LA464-NOT: "-target-feature" |
32 | 32 | // CC1-LA464: "-target-abi" "lp64d" |
33 | 33 |
|
34 | 34 | // CC1-LA64V1P0: "-target-cpu" "loongarch64" |
35 | 35 | // CC1-LA64V1P0-NOT: "-target-feature" |
36 | | -// CC1-LA64V1P0: "-target-feature" "+64bit" "-target-feature" "+d" "-target-feature" "+lsx" "-target-feature" "+ual" |
| 36 | +// CC1-LA64V1P0: "-target-feature" "+relax" "-target-feature" "+64bit" "-target-feature" "+d" "-target-feature" "+lsx" "-target-feature" "+ual" |
37 | 37 | // CC1-LA64V1P0-NOT: "-target-feature" |
38 | 38 | // CC1-LA64V1P0: "-target-abi" "lp64d" |
39 | 39 |
|
40 | 40 | // CC1-LA64V1P1: "-target-cpu" "loongarch64" |
41 | 41 | // CC1-LA64V1P1-NOT: "-target-feature" |
42 | | -// CC1-LA64V1P1: "-target-feature" "+64bit" "-target-feature" "+d" "-target-feature" "+lsx" "-target-feature" "+ual" "-target-feature" "+frecipe" "-target-feature" "+lam-bh" "-target-feature" "+lamcas" "-target-feature" "+ld-seq-sa" "-target-feature" "+div32" "-target-feature" "+scq" |
| 42 | +// CC1-LA64V1P1: "-target-feature" "+relax" "-target-feature" "+64bit" "-target-feature" "+d" "-target-feature" "+lsx" "-target-feature" "+ual" "-target-feature" "+frecipe" "-target-feature" "+lam-bh" "-target-feature" "+lamcas" "-target-feature" "+ld-seq-sa" "-target-feature" "+div32" "-target-feature" "+scq" |
43 | 43 | // CC1-LA64V1P1-NOT: "-target-feature" |
44 | 44 | // CC1-LA64V1P1: "-target-abi" "lp64d" |
45 | 45 |
|
46 | 46 | // CC1-LA664: "-target-cpu" "la664" |
47 | 47 | // CC1-LA664-NOT: "-target-feature" |
48 | | -// CC1-LA664: "-target-feature" "+64bit" "-target-feature" "+f" "-target-feature" "+d" "-target-feature" "+lsx" "-target-feature" "+lasx" "-target-feature" "+ual" "-target-feature" "+frecipe" "-target-feature" "+lam-bh" "-target-feature" "+lamcas" "-target-feature" "+ld-seq-sa" "-target-feature" "+div32" "-target-feature" "+scq" |
| 48 | +// CC1-LA664: "-target-feature" "+relax" "-target-feature" "+64bit" "-target-feature" "+f" "-target-feature" "+d" "-target-feature" "+lsx" "-target-feature" "+lasx" "-target-feature" "+ual" "-target-feature" "+frecipe" "-target-feature" "+lam-bh" "-target-feature" "+lamcas" "-target-feature" "+ld-seq-sa" "-target-feature" "+div32" "-target-feature" "+scq" |
49 | 49 | // CC1-LA664-NOT: "-target-feature" |
50 | 50 | // CC1-LA664: "-target-abi" "lp64d" |
51 | 51 |
|
52 | | -// IR-LOONGARCH64: attributes #[[#]] ={{.*}}"target-cpu"="loongarch64" {{.*}}"target-features"="+64bit,+d,+f,+ual" |
53 | | -// IR-LA464: attributes #[[#]] ={{.*}}"target-cpu"="la464" {{.*}}"target-features"="+64bit,+d,+f,+lasx,+lsx,+ual" |
54 | | -// IR-LA64V1P0: attributes #[[#]] ={{.*}}"target-cpu"="loongarch64" {{.*}}"target-features"="+64bit,+d,+lsx,+ual" |
55 | | -// IR-LA64V1P1: attributes #[[#]] ={{.*}}"target-cpu"="loongarch64" {{.*}}"target-features"="+64bit,+d,+div32,+frecipe,+lam-bh,+lamcas,+ld-seq-sa,+lsx,+scq,+ual" |
56 | | -// IR-LA664: attributes #[[#]] ={{.*}}"target-cpu"="la664" {{.*}}"target-features"="+64bit,+d,+div32,+f,+frecipe,+lam-bh,+lamcas,+lasx,+ld-seq-sa,+lsx,+scq,+ual" |
| 52 | +// IR-LOONGARCH64: attributes #[[#]] ={{.*}}"target-cpu"="loongarch64" {{.*}}"target-features"="+64bit,+d,+f,+relax,+ual" |
| 53 | +// IR-LA464: attributes #[[#]] ={{.*}}"target-cpu"="la464" {{.*}}"target-features"="+64bit,+d,+f,+lasx,+lsx,+relax,+ual" |
| 54 | +// IR-LA64V1P0: attributes #[[#]] ={{.*}}"target-cpu"="loongarch64" {{.*}}"target-features"="+64bit,+d,+lsx,+relax,+ual" |
| 55 | +// IR-LA64V1P1: attributes #[[#]] ={{.*}}"target-cpu"="loongarch64" {{.*}}"target-features"="+64bit,+d,+div32,+frecipe,+lam-bh,+lamcas,+ld-seq-sa,+lsx,+relax,+scq,+ual" |
| 56 | +// IR-LA664: attributes #[[#]] ={{.*}}"target-cpu"="la664" {{.*}}"target-features"="+64bit,+d,+div32,+f,+frecipe,+lam-bh,+lamcas,+lasx,+ld-seq-sa,+lsx,+relax,+scq,+ual" |
57 | 57 |
|
58 | 58 | int foo(void) { |
59 | 59 | return 3; |
|
0 commit comments