This reverts commit r351740: this broke on platforms where unsigned long
long isn't the same as uint64_t which is what ACLE specifies for the
return value of rsr64.
Details
Diff Detail
- Repository
- rC Clang
Event Timeline
Oh, rsr and wsr are macros, not functions... I was confused how it would break.
The correct signature for __builtin_arm_rsr64 is "WUicC*", I think.
Is it OK with you to land this revert, followed by D57210, and then reland this with the appropriate fix?
I'd say go for it, it's basically already EOD Pacific time, and I don't think anyone has set up a continuous Windows ARM64 build with ToT clang anywhere in the world yet.
Not sure if it qualifies as a proper continuous Windows ARM64 build, but I build latest llvm+mingw-w64+compiler-rt+libcxx nightly and test build a bunch of video-related projects including VLC on it (for all 4 current architectures, i686/x86_64/armv7/aarch64), and run a bunch of tests of projects built with that compiler in wine. But I'm pretty sure none of the projects I test use these intrinsics.
Fair, my mistake, I should have qualified it with something along the lines of "... build that depends on these intrinsic changes ... yet".