[mips] [IAS] Do not generate redundant ORi in createLShiftOri.
authorToma Tabacu <toma.tabacu@imgtec.com>
Tue, 28 Apr 2015 14:06:35 +0000 (14:06 +0000)
committerToma Tabacu <toma.tabacu@imgtec.com>
Tue, 28 Apr 2015 14:06:35 +0000 (14:06 +0000)
commit8bec0f9db187b29ea54784efa8b33d90f5694d33
treef9407e7bb0bc4cdf7257f36799c02f9caa65e8ec
parent1f7a90d7936a9a6278365ea8b0521c7ff17432c3
[mips] [IAS] Do not generate redundant ORi in createLShiftOri.

Summary: If the immediate is 0, the ORi is pointless.

Reviewers: dsanders

Reviewed By: dsanders

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D8969

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235990 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
test/MC/Mips/mips-expansions.s
test/MC/Mips/mips64-expansions.s