forked from GPUOpen-Drivers/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged master:dbae3d50f114 into amd-gfx:318f34c7ff2a
Local branch amd-gfx 318f34c Merged master:8cc49bec2e06 into amd-gfx:7c4e68106766 Remote branch master dbae3d5 [MLIR] Support walks over regions and blocks
- Loading branch information
Showing
23 changed files
with
245 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# RUN: llvm-mc -triple=ve %s -o - | FileCheck %s | ||
# RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \ | ||
# RUN: | FileCheck %s --check-prefixes=CHECK-INST | ||
|
||
### Test registers with specific names like "%sp" | ||
|
||
subu.l %fp, %sp, %s0 | ||
brge.l.t %sp, %sl, 1f | ||
ld %s63, 0x18(,%tp) | ||
1: | ||
or %got, 0, %plt | ||
b.l (,%lr) | ||
|
||
|
||
# CHECK: subu.l %s9, %s11, %s0 | ||
# CHECK-NEXT: brge.l.t %s11, %s8, .Ltmp0 | ||
# CHECK-NEXT: ld %s63, 24(, %s14) | ||
# CHECK-NEXT: .Ltmp0: | ||
# CHECK-NEXT: or %s15, 0, %s16 | ||
# CHECK-NEXT: b.l (, %s10) | ||
|
||
# CHECK-INST: subu.l %s9, %s11, %s0 | ||
# CHECK-INST-NEXT: brge.l.t %s11, %s8, 16 | ||
# CHECK-INST-NEXT: ld %s63, 24(, %s14) | ||
# CHECK-INST-NEXT: or %s15, 0, %s16 | ||
# CHECK-INST-NEXT: b.l (, %s10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
# RUN: llvm-mc -triple=ve %s -o - | FileCheck %s | ||
# RUN: llvm-mc -triple=ve -filetype=obj %s -o - | llvm-objdump -r - | FileCheck %s --check-prefix=CHECK-OBJ | ||
|
||
b.l.t tgt | ||
br.l.t tgt2 | ||
b.l.t tgt(, %s1) | ||
b.l.t tgt+24(, %s1) | ||
# CHECK: b.l.t tgt(, %s1) | ||
# CHECK: b.l.t tgt | ||
# CHECK-NEXT: br.l.t tgt2 | ||
# CHECK-NEXT: b.l.t tgt(, %s1) | ||
# CHECK-NEXT: b.l.t tgt+24(, %s1) | ||
|
||
# CHECK-OBJ: 0 R_VE_REFLONG tgt | ||
# CHECK-OBJ-NEXT: 8 R_VE_REFLONG tgt+0x18 | ||
# CHECK-OBJ: 8 R_VE_PC_LO32 tgt2 | ||
# CHECK-OBJ: 10 R_VE_REFLONG tgt | ||
# CHECK-OBJ: 18 R_VE_REFLONG tgt+0x18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.