projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e26017d
)
[PowerPC] Remove unused MacOSX check
author
Fangrui Song
<i@maskray.me>
Mon, 5 Dec 2022 07:54:11 +0000
(07:54 +0000)
committer
Fangrui Song
<i@maskray.me>
Mon, 5 Dec 2022 07:54:11 +0000
(07:54 +0000)
PPC Darwin support was removed long ago.
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index
fd65794
..
4edbcb0
100644
(file)
--- a/
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
@@
-231,9
+231,6
@@
static PPCTargetMachine::PPCABI computeTargetABI(const Triple &TT,
assert(Options.MCOptions.getABIName().empty() &&
"Unknown target-abi option!");
- if (TT.isMacOSX())
- return PPCTargetMachine::PPC_ABI_UNKNOWN;
-
switch (TT.getArch()) {
case Triple::ppc64le:
return PPCTargetMachine::PPC_ABI_ELFv2;