-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use function id number when generating function names to avoid repeti…
…tions in generic functions (#397) * document todos and implement bytes31 * layout * Download alexandria lib in CI * Add alexandria tests * Add scarb project * suggestion and fixes * Build scarb in test target * Remove dbg print * Add karatsuba test * Clean unused imports * Add more cases * Add tests using data structures * Add more tests * Clippy * Comment tests that produce invalid mlir * Avoid searching twice for func * Pin alexandria version * Run scarb formatter * Dont import unused features * use a different installation method for scarb * Fix * Remove unnecessary flag * Udpate .PHONY * Remove char * Use standard installer with flag * Remove whitespace * Fix * Fix target name * Try solution * Output scarb version * pin scarb version * Build test files in coverage target * Fix scarb version * fix * Fix command duplication * Use action to install scarb in macos CI * Add test that reduces error case * Simplify bug case * Add function identifier id to its name to avoid duplicate functiopns * Unignore reverse_bits & reverse_bytes tests * Update mlir function names in benchmark files * Restore file --------- Co-authored-by: Edgar Luque <[email protected]>
- Loading branch information
Showing
8 changed files
with
51 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
fn main() -> (u16, u64) { | ||
( | ||
bar(3), | ||
bar(5), | ||
) | ||
} | ||
|
||
fn bar<T, +Drop<T>>(a: T) -> T { | ||
loop { | ||
break; | ||
}; | ||
a | ||
} |