mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Remove the bare getSubtargetImpl call from the PPC port. As part
of this add a test that shows we can generate code with for functions that differ by subtarget feature. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232882 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -163,8 +163,7 @@ PPCTargetMachine::PPCTargetMachine(const Target &T, StringRef TT, StringRef CPU,
|
||||
: LLVMTargetMachine(T, getDataLayoutString(Triple(TT)), TT, CPU,
|
||||
computeFSAdditions(FS, OL, TT), Options, RM, CM, OL),
|
||||
TLOF(createTLOF(Triple(getTargetTriple()))),
|
||||
TargetABI(computeTargetABI(Triple(TT), Options)),
|
||||
Subtarget(TT, CPU, TargetFS, *this) {
|
||||
TargetABI(computeTargetABI(Triple(TT), Options)) {
|
||||
initAsmInfo();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user