================ @@ -736,9 +737,17 @@ void ARMTargetInfo::getTargetDefines(const LangOptions &Opts, if (!CPUAttr.empty()) Builder.defineMacro("__ARM_ARCH_" + CPUAttr + "__"); - // ACLE 6.4.1 ARM/Thumb instruction set architecture - // __ARM_ARCH is defined as an integer value indicating the current ARM ISA - Builder.defineMacro("__ARM_ARCH", Twine(ArchVersion)); + // ACLE 5.4.1 ARM/Thumb instruction set architecture ---------------- ostannard wrote:
This macro doesn't actually have anything to do with the ARM/Thumb ISAs, this line of the comment can just be deleted. https://github.com/llvm/llvm-project/pull/81493 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits