[all-commits] [llvm/llvm-project] e5bbaa: PPC: Split 64bit target feature into 64bit and 64b...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Sep 15 20:44:14 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e5bbaa9c8fb6e06dbcbd39404039cc5d31df4410
https://github.com/llvm/llvm-project/commit/e5bbaa9c8fb6e06dbcbd39404039cc5d31df4410
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-09-16 (Tue, 16 Sep 2025)
Changed paths:
M llvm/lib/Target/PowerPC/PPC.td
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.h
M llvm/test/CodeGen/PowerPC/i64_fp.ll
Log Message:
-----------
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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list