SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
devel/clang-tools-extra/patches/patch-lib_Target_Mips_Mips_h
Normal file
21
devel/clang-tools-extra/patches/patch-lib_Target_Mips_Mips_h
Normal file
|
@ -0,0 +1,21 @@
|
|||
Adapt the -mfix-loongson2f-btb workaround from as(1) to LLVM/clang.
|
||||
|
||||
Index: lib/Target/Mips/Mips.h
|
||||
--- lib/Target/Mips/Mips.h.orig
|
||||
+++ lib/Target/Mips/Mips.h
|
||||
@@ -38,6 +38,7 @@ namespace llvm {
|
||||
FunctionPass *createMicroMipsSizeReducePass();
|
||||
FunctionPass *createMipsExpandPseudoPass();
|
||||
FunctionPass *createMipsPreLegalizeCombiner();
|
||||
+ FunctionPass *createMipsLoongson2FBTBFix();
|
||||
|
||||
InstructionSelector *createMipsInstructionSelector(const MipsTargetMachine &,
|
||||
MipsSubtarget &,
|
||||
@@ -47,6 +48,7 @@ namespace llvm {
|
||||
void initializeMipsBranchExpansionPass(PassRegistry &);
|
||||
void initializeMicroMipsSizeReducePass(PassRegistry &);
|
||||
void initializeMipsPreLegalizerCombinerPass(PassRegistry&);
|
||||
+ void initializeMipsLoongson2FBTBFixPass(PassRegistry &);
|
||||
} // end namespace llvm;
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue