[PowerPC][NFC] Undefine __XL_COMPAT_ALTIVEC__ in builtin lit test
authorLei Huang <lei@ca.ibm.com>
Fri, 17 Jun 2022 01:15:02 +0000 (20:15 -0500)
committerLei Huang <lei@ca.ibm.com>
Fri, 17 Jun 2022 01:16:52 +0000 (20:16 -0500)
commitfebe4f650b8754188c8cde01701bc16bd4a7a696
tree51e74ffd2fa05bb7e596a2143cb25b3f0492ea94
parentbb83f8e70bd1d56152f02307adacd718cd67e312
[PowerPC][NFC] Undefine __XL_COMPAT_ALTIVEC__ in builtin lit test

Add defines and undefines of the __XL_COMPAT_ALTIVEC__ to ensure
consistent results regardless of the default for this macro.
clang/test/CodeGen/PowerPC/builtins-ppc-vsx.c