-
-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix interpretation of bswap at compile time #648
Comments
I agree with @redstar, the commit dc6b400 should be reverted: better to fail to compile some code than to behave incorrectly. |
Since our intrinsics can live anywhere (intrinsic-ness is defined by pragma), going by mangled name is a fundamentally limited/broken approach. We should check the |
Uses the llvmInternal member and the intrinsic name to identify an intrinsic. Implements llvm.bswap, llvm.ctlz and llvm.cttz intrinsics as builtins and remove the core.bitop counterparts.
Uses the llvmInternal member and the intrinsic name to identify an intrinsic. Implements llvm.bswap, llvm.ctpop, llvm.ctlz and llvm.cttz intrinsics as builtins and remove the core.bitop counterparts. The implementation is complicated by the fact that the overloaded intrinsic name is resolved during code generation.
Uses the llvmInternal member and the intrinsic name to identify an intrinsic. Implements llvm.bswap, llvm.ctpop, llvm.ctlz and llvm.cttz intrinsics as builtins and remove the core.bitop counterparts. The implementation is complicated by the fact that the overloaded intrinsic name is resolved during code generation.
Uses the llvmInternal member and the intrinsic name to identify an intrinsic. Implements llvm.bswap, llvm.ctpop, llvm.ctlz and llvm.cttz intrinsics as builtins and remove the core.bitop counterparts. The implementation is complicated by the fact that the overloaded intrinsic name is resolved during code generation.
Uses the llvmInternal member and the intrinsic name to identify an intrinsic. Implements llvm.bswap, llvm.ctpop, llvm.ctlz and llvm.cttz intrinsics as builtins and remove the core.bitop counterparts. The implementation is complicated by the fact that the overloaded intrinsic name is resolved during code generation.
Fixed with commit b8a75be. |
Issue 11362 - Unit test assertion failure messages not printed
Check the behavior introduced with pull request #644.
The text was updated successfully, but these errors were encountered: