forked from llvm/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.
[PowerPC] Update data layout aligment of i128 to 16 (llvm#118004)
Fix 64-bit PowerPC part of llvm#102783.
- Loading branch information
1 parent
93b391f
commit 696afab
Showing
9 changed files
with
62 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
; RUN: llc < %s -mtriple=powerpc-unknown-linux | FileCheck %s | ||
; RUN: llc < %s -mtriple=powerpc64-unknown-linux | FileCheck %s | ||
; RUN: llc < %s -mtriple=powerpc64le-unknown-linux | FileCheck %s | ||
|
||
; CHECK: .set .Li8, | ||
; CHECK-NEXT: .size .Li8, 1 | ||
@i8 = private constant i8 42 | ||
|
||
; CHECK: .set .Li16, | ||
; CHECK-NEXT: .size .Li16, 2 | ||
@i16 = private constant i16 42 | ||
|
||
; CHECK: .set .Li32, | ||
; CHECK-NEXT: .size .Li32, 4 | ||
@i32 = private constant i32 42 | ||
|
||
; CHECK: .set .Li64, | ||
; CHECK-NEXT: .size .Li64, 8 | ||
@i64 = private constant i64 42 | ||
|
||
; CHECK: .set .Li128, | ||
; CHECK-NEXT: .size .Li128, 16 | ||
@i128 = private constant i128 42 | ||
|
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