- Adds the command line flag for clzero.
- Includes the clzero flag under znver1.
- Defines the macro for clzero.
- Adds a new file which has the intrinsic definition for clzero instruction.
Please add a test for __builtin_ia32_clzero to llvm\tools\clang\test\CodeGen\builtins-x86.c
|53 ↗||(On Diff #86601)|
Why the extra copyright header - this wasn't added to previous AMD only instructions
|65 ↗||(On Diff #86601)|
Would it be possible to add a doxygen description? See some of the other x86 headers for examples.
LGTM, but i'll make some additional testing changes before committing it.
-Add CLZERO checks to test/Preprocessor/predefined-arch-macros.c for znver1
-Add command line testing to test/Driver/x86-target-features.c
-Add a test to verify the generated IR.