Skip to content

Commit 3e57251

Browse files
committed
Remove duplicated code from trans_intrinsics
Most arms of the huge match contain the same code, differing only in small details like the name of the llvm intrinsic that is to be called. Thus the duplicated code can be factored out into a few functions that take some parameters to handle the differences.
1 parent 93c270c commit 3e57251

File tree

1 file changed

+109
-319
lines changed

1 file changed

+109
-319
lines changed

0 commit comments

Comments
 (0)