diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-25 14:25:49 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-25 14:25:49 +0000 |
commit | 2fe5752e3a7c345cdb59e869278d36af33c13fa4 (patch) | |
tree | df68ca4b788599e14cbadaf19b704672393efccd /lib/Target/Sparc | |
parent | 69156b4c20249e7800cc09e0eef0beb3d15ac1ad (diff) | |
download | src-test2-2fe5752e3a7c345cdb59e869278d36af33c13fa4.tar.gz src-test2-2fe5752e3a7c345cdb59e869278d36af33c13fa4.zip |
Notes
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r-- | lib/Target/Sparc/AsmParser/SparcAsmParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp b/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp index 4a33f7fc3467..1c4e486da418 100644 --- a/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp +++ b/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp @@ -77,7 +77,7 @@ class SparcAsmParser : public MCTargetAsmParser { bool parseDirectiveWord(unsigned Size, SMLoc L); bool is64Bit() const { - return STI.getTargetTriple().getArchName().startswith("sparcv9"); + return STI.getTargetTriple().getArch() == Triple::sparcv9; } void expandSET(MCInst &Inst, SMLoc IDLoc, |