JuliaHubOSS / llvm-cbe

resurrected LLVM "C Backend", with improvements
Other
811 stars 138 forks source link

Add/fix more intrinsics: smin, smax, trap, bswap, popcnt, ctlz, and cttz #188

Closed bcoppens closed 6 months ago

bcoppens commented 6 months ago

This builds on top off pull request #185 (which fixed the is.constant intrinsic) to also add / fix support for some intrisics I came across which either weren't implemented at all (smin, smax, and trap), or weren't actually working (bswap, popcnt, ctlz, and cttz)