era-compiler-llvm icon indicating copy to clipboard operation
era-compiler-llvm copied to clipboard

Add tests for bit manipulation intrinsics

Open akiramenai opened this issue 7 months ago • 0 comments

LLVM can replace hand-written loops with bit manipulation intrinsics if loop idiom recognition pass decides so. There recent improvements in this pass that might affect performance and correctness after LLVM update. The goals of this ticket are to

  • Ensure that we emit correct assembly for all bit manipulation intrinsics.
  • Ensure that the code we generate for bit manipulations is no worse than a hand-written loop.

akiramenai avatar Jul 22 '24 12:07 akiramenai