For N32/N64, private labels begin with '.L' but for O32 they begin with '$'.
MCAsmInfo now has an initializer function which can be used to provide information from the TargetMachine to control the assembly syntax.
Differential D9821
[mips] The naming convention for private labels is ABI dependant. dsanders on May 18 2015, 2:39 AM. Authored by
Details For N32/N64, private labels begin with '.L' but for O32 they begin with '$'. MCAsmInfo now has an initializer function which can be used to provide information from the TargetMachine to control the assembly syntax.
Diff Detail Event TimelineComment Actions Won't we have to update the existing tests that depend on this behaviour? Failing Tests (12): LLVM :: CodeGen/Mips/analyzebranch.ll LLVM :: CodeGen/Mips/atomic.ll LLVM :: CodeGen/Mips/blez_bgez.ll LLVM :: CodeGen/Mips/blockaddr.ll LLVM :: CodeGen/Mips/fpbr.ll LLVM :: CodeGen/Mips/llvm-ir/ashr.ll LLVM :: CodeGen/Mips/llvm-ir/indirectbr.ll LLVM :: CodeGen/Mips/llvm-ir/lshr.ll LLVM :: CodeGen/Mips/llvm-ir/select.ll LLVM :: CodeGen/Mips/llvm-ir/shl.ll LLVM :: CodeGen/Mips/longbranch.ll LLVM :: CodeGen/Mips/octeon.ll Other than that it looks good to me. Please, update the existing revision if you'd like me to review the tests' changes too. Comment Actions Now uses the ABI instead of misusing target triples. This required the addition Also updated tests. |