[PATCH] D87974: Summary: [Builtin] Add __builtin_zero_non_value_bits.
Zoe Carver via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 20 13:35:05 PDT 2020
zoecarver added inline comments.
================
Comment at: clang/test/CodeGenCXX/builtin-zero-non-value-bits.cpp:160
+
+int main() {
+ testAllForType<32, 16, char>(11, 22, 33, 44);
----------------
jfb wrote:
> Usually CodeGen tests will use lit to check the emitted IR matches expectations. I think that's what you want to do here.
>
> Remember to test `volatile` qualified pointers, as well as address spaces too.
What's a good place for me to put this end-to-end test?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87974/new/
https://reviews.llvm.org/D87974
More information about the cfe-commits
mailing list