Files
llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
Matt Arsenault e5bbaa9c8f PPC: Split 64bit target feature into 64bit and 64bit-support (#157206)
This was being used for 2 different purposes.

The TargetMachine constructor prepends +64bit based on isPPC64
triples as a mode switch. The same feature name was also explicitly
added to different processors, making it impossible to perform a pure
feature check for whether 64-bit mode is enabled ir not. i.e.,
checkFeatures("+64bit") would be true even for ppc32 triples.

The comment in tablegen suggests it's relevant to track which processors
support 64-bit mode independently of whether that's the active compile
target, so replace that with a new feature.
2025-09-16 12:43:53 +09:00

9.1 KiB