Skip to content

Commit 569b5ad

Browse files
diggerlinamy-kwan
andauthored
Update llvm/lib/TargetParser/PPCTargetParser.cpp
Co-authored-by: Amy Kwan <[email protected]>
1 parent b284474 commit 569b5ad

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/TargetParser/PPCTargetParser.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,8 @@ std::optional<StringMap<bool>> getPPCDefaultTargetFeatures(const Triple &T,
136136
if (CPU == "8548")
137137
Features["spe"] = true;
138138

139-
// The target feature `quadword-atomics` is enabled by llvm back-end for
140-
// power8 or power8 up, we disable the target feature if the triple is
141-
// 32-bit.
139+
// The target feature `quadword-atomics` is only supported for 64-bit
140+
// POWER8 and above.
142141
if (Features.find("quadword-atomics") != Features.end() && !T.isArch64Bit())
143142
Features["quadword-atomics"] = false;
144143
return Features;

0 commit comments

Comments
 (0)