Fix uninitialized variables introduced by D116325.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/CodeGen/X86/sse-builtins-constrained.c | ||
---|---|---|
5 ↗ | (On Diff #426968) | Any reason you can't commit this separately and immediately? |
clang/test/CodeGen/X86/sse-builtins-constrained.c | ||
---|---|---|
5 ↗ | (On Diff #426968) | Good point! I'll do it. |
LGTM - I'm intending to add -Wsystem-headers to the clang x86 builtins tests once everything is clean.
Thanks @RKSimon! That sounds great! I was thinking the headers will do diagnosis when -Wall.
clang/lib/Headers/cetintrin.h | ||
---|---|---|
48 | So if CET isn't enabled this intrinsic returns a random value instead of 0 like _get_ssp? |
clang/lib/Headers/cetintrin.h | ||
---|---|---|
45 | Thanks! Done by rGaa25b55bde87. | |
48 | Exactly! These intrinsics are used to reflect the exact instructions behavior, i.e., a nop operation. They are used for performance. |
The argument should also be (void).