-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIRParser] Parse lane masks for register live-ins
Differential Revision: https://reviews.llvm.org/D25530 llvm-svn: 284052
- Loading branch information
Krzysztof Parzyszek
committed
Oct 12, 2016
1 parent
45e4ef7
commit d62669d
Showing
5 changed files
with
87 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# RUN: llc -march=hexagon -run-pass none -o - %s | FileCheck %s | ||
# Check that the MIR parser can parse lane masks in block liveins. | ||
|
||
# CHECK-LABEL: name: foo | ||
# CHECK: bb.0: | ||
# CHECK: liveins: %d0:0x00000002, %d1, %d2:0x00000010 | ||
|
||
--- | | ||
define void @foo() { | ||
ret void | ||
} | ||
... | ||
|
||
--- | ||
name: foo | ||
tracksRegLiveness: true | ||
|
||
body: | | ||
bb.0: | ||
liveins: %d0:0x00002, %d1, %d2:16 | ||
A2_nop | ||
... | ||
|