CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/12/01 06:30:13
Modified files:
gnu/llvm/clang/include/clang/Driver: Options.td
gnu/llvm/clang/lib/Driver/ToolChains: Clang.cpp
gnu/llvm/llvm/lib/Target/Mips: Mips.h MipsTargetMachine.cpp
gnu/llvm/llvm/lib/Target/Mips/AsmParser: MipsAsmParser.cpp
gnu/llvm/llvm/lib/Target/Mips/MCTargetDesc: MipsABIInfo.cpp
gnu/usr.bin/clang/libLLVMMipsCodeGen: Makefile
Added files:
gnu/llvm/llvm/lib/Target/Mips: MipsLoongson2FBTBFix.cpp
Log message:
Implement Loongson 2F BTB bug workaround in clang
This adapts the -mfix-loongson2f-btb workaround from as(1) to
LLVM/clang. Because LLVM emits machine code directly without using
assembly as intermediary form, the workaround has to be applied
in the compiler backend in addition to the integrated assembler.
Discussed with miod@
OK mortimer@