-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from felixwiemuth/fix/change-max-index
Update max index for ProjIdx to LLVM i32 type
- Loading branch information
Showing
6 changed files
with
18 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Consts where | ||
|
||
-- * LLVM types | ||
|
||
-- | 2^31-1 | ||
llvm_i32_maxBound :: Int | ||
llvm_i32_maxBound = 2147483647 | ||
|
||
llvm_maxIndex :: Int | ||
llvm_maxIndex = llvm_i32_maxBound |
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 |
---|---|---|
@@ -1 +1 @@ | ||
troupec: ProjIdx: illegal index: 9007199254740992 (max index: 9007199254740991) | ||
troupec: ProjIdx: illegal index: 2147483648 (max index: 2147483647) |
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 +1 @@ | ||
(1,2,3).9007199254740992 | ||
(1,2,3).2147483648 |
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,3 +1,3 @@ | ||
2024-02-14T11:33:50.114Z [RTM] [32minfo[39m: Skipping network creation. Observe that all external IO operations will yield a runtime error. | ||
Runtime error in thread b490728b-03f4-4cbb-af4e-349efbca03d4@{}%{} | ||
>> Index out of bounds: tuple (1@{}%{}, 2@{}%{}, 3@{}%{}) does not have length more than 9007199254740991 | ||
>> Index out of bounds: tuple (1@{}%{}, 2@{}%{}, 3@{}%{}) does not have length more than 2147483647 |
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 +1 @@ | ||
(1,2,3).9007199254740991 | ||
(1,2,3).2147483647 |