[PATCH] D92445: [PowerPC] Add powerpcle target.
Brandon Bergren via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 1 18:45:29 PST 2020
Bdragon28 created this revision.
Bdragon28 added reviewers: MaskRay, PowerPC, jhibbits.
Bdragon28 added a project: PowerPC.
Herald added subscribers: llvm-commits, cfe-commits, dexonsmith, steven.zhang, shchenz, rupprecht, kbarton, hiraditya, krytarowski, arichardson, nemanjai, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: alexshap.
Herald added a reviewer: rupprecht.
Herald added a reviewer: jhenderson.
Herald added projects: clang, LLVM.
Bdragon28 requested review of this revision.
Herald added a subscriber: ormris.
- Add powerpcle targets for Linux and FreeBSD.
- Add some appropriate tests and do test fixes noticed during test implementation.
Individual test changes of note:
clang/test/CodeGen/altivec.c:
- Add little-endian test patterns for powerpcle-unknown-unknown and powerpc64le-unknown-unknown. I manually validated LE behavior against gcc 9.3.0 powerpc64le-linux-musl.
clang/test/Driver/ppc-endian.c:
- Add 32-bit checks.
lld/test/ELF/emulation-ppc.s:
- Rewrite test to unify the checks and reduce duplication.
llvm/test/tools/llvm-objcopy/ELF/binary-output-target.test:
- Fix partially broken elf64-powerpc64le test, add elf32-powerpc / elf32-powerpcle / elf64-powerpc tests.
llvm/test/tools/llvm-objcopy/ELF/cross-arch-headers.test:
- Add additional check-prefixes to the powerpc tests, fix existing elf32-powerpcle test to actually test that it's LE rather than BE.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92445
Files:
clang/lib/Basic/Targets.cpp
clang/lib/Basic/Targets/OSTargets.h
clang/lib/Basic/Targets/PPC.cpp
clang/lib/Basic/Targets/PPC.h
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/TargetInfo.cpp
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChain.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/ToolChains/FreeBSD.cpp
clang/lib/Driver/ToolChains/Gnu.cpp
clang/lib/Driver/ToolChains/Linux.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Sema/SemaChecking.cpp
clang/test/CodeGen/altivec.c
clang/test/CodeGen/builtins-ppc-altivec.c
clang/test/CodeGen/ppc32-and-aix-struct-return.c
clang/test/CodeGen/target-data.c
clang/test/Driver/ppc-endian.c
lld/ELF/Driver.cpp
lld/ELF/InputFiles.cpp
lld/ELF/ScriptParser.cpp
lld/test/ELF/emulation-ppc.s
lld/test/ELF/ppc32-gnu-ifunc.s
lld/test/ELF/ppc32-reloc-rel.s
llvm/include/llvm/ADT/Triple.h
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
llvm/include/llvm/Object/ELFObjectFile.h
llvm/lib/CodeGen/TargetLoweringBase.cpp
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
llvm/lib/Frontend/OpenMP/OMPContext.cpp
llvm/lib/Object/RelocationResolver.cpp
llvm/lib/Support/Triple.cpp
llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
llvm/lib/Target/PowerPC/PPCSubtarget.cpp
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.h
llvm/lib/Target/TargetMachine.cpp
llvm/test/tools/llvm-objcopy/ELF/binary-output-target.test
llvm/test/tools/llvm-objcopy/ELF/cross-arch-headers.test
llvm/test/tools/llvm-objdump/ELF/PowerPC/branch-offset.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92445.308833.patch
Type: text/x-patch
Size: 64140 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201202/ded3e95a/attachment-0001.bin>
More information about the llvm-commits
mailing list