[clang] [HLSL] enforce unsigned types for reversebits (PR #86720)
Justin Bogner via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 26 12:47:30 PDT 2024
================
@@ -54,31 +29,6 @@ uint16_t4 test_bitreverse_ushort4(uint16_t4 p0)
}
#endif
-// CHECK: define noundef i32 @
-// CHECK: call i32 @llvm.bitreverse.i32(
-int test_bitreverse_int(int p0)
-{
- return reversebits(p0);
-}
----------------
bogner wrote:
Will these implicitly convert to `uint` now, or are these errors?
https://github.com/llvm/llvm-project/pull/86720
More information about the cfe-commits
mailing list