Skip to content

Commit

Permalink
add equality functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dwightguth committed Aug 22, 2024
1 parent 3b8699e commit 1da3c95
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions config/llvm_header.inc
Original file line number Diff line number Diff line change
Expand Up @@ -258,5 +258,25 @@ entry:
ret i64 %steps
}
define i1 @hook_MINT_eq_32(i32 %0, i32 %1) {
%ret = icmp eq i32 %0, %1
ret i1 %ret
}
define i1 @hook_MINT_eq_64(i64 %0, i64 %1) {
%ret = icmp eq i64 %0, %1
ret i1 %ret
}
define i1 @hook_MINT_eq_160(i160 %0, i160 %1) {
%ret = icmp eq i160 %0, %1
ret i1 %ret
}
define i1 @hook_MINT_eq_256(i256 %0, i256 %1) {
%ret = icmp eq i256 %0, %1
ret i1 %ret
}
attributes #0 = { noreturn }
)LLVM"

0 comments on commit 1da3c95

Please sign in to comment.