diff options
author | dim <dim@FreeBSD.org> | 2014-11-24 18:43:37 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-11-24 18:43:37 +0000 |
commit | 82ca21468e7fe6a5112961ba86434579bed3f204 (patch) | |
tree | c2772f1f62ff857fee7802d46eb79f45d45d6d54 /contrib/llvm/patches/patch-r262261-llvm-r199940-sparc.diff | |
parent | 6148c19c738a92f344008aa3f88f4e008bada0ee (diff) | |
download | FreeBSD-src-82ca21468e7fe6a5112961ba86434579bed3f204.zip FreeBSD-src-82ca21468e7fe6a5112961ba86434579bed3f204.tar.gz |
Cleanup patch set, and update README.TXT. Add three new patches.
Diffstat (limited to 'contrib/llvm/patches/patch-r262261-llvm-r199940-sparc.diff')
-rw-r--r-- | contrib/llvm/patches/patch-r262261-llvm-r199940-sparc.diff | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/contrib/llvm/patches/patch-r262261-llvm-r199940-sparc.diff b/contrib/llvm/patches/patch-r262261-llvm-r199940-sparc.diff deleted file mode 100644 index 3b0940f..0000000 --- a/contrib/llvm/patches/patch-r262261-llvm-r199940-sparc.diff +++ /dev/null @@ -1,21 +0,0 @@ -Pull in r199940 from upstream llvm trunk (by Eric Christopher): - - Fix out of bounds access to the double regs array. Given the - code this looks correct, but could use review. The previous - was definitely not correct. - -Introduced here: http://svnweb.freebsd.org/changeset/base/262261 - -Index: lib/Target/Sparc/AsmParser/SparcAsmParser.cpp -=================================================================== ---- lib/Target/Sparc/AsmParser/SparcAsmParser.cpp -+++ lib/Target/Sparc/AsmParser/SparcAsmParser.cpp -@@ -734,7 +734,7 @@ bool SparcAsmParser::matchRegisterName(const AsmTo - && !name.substr(1, 2).getAsInteger(10, intVal) - && intVal >= 32 && intVal <= 62 && (intVal % 2 == 0)) { - // FIXME: Check V9 -- RegNo = DoubleRegs[16 + intVal/2]; -+ RegNo = DoubleRegs[intVal/2]; - RegKind = SparcOperand::rk_DoubleReg; - return true; - } |