]> granicus.if.org Git - llvm/commit
[MIPS][microMIPS] Add a pattern to match TruncIntFP
authorPetar Jovanovic <petar.jovanovic@mips.com>
Mon, 11 Mar 2019 14:13:31 +0000 (14:13 +0000)
committerPetar Jovanovic <petar.jovanovic@mips.com>
Mon, 11 Mar 2019 14:13:31 +0000 (14:13 +0000)
commit16c00e17ef73711364f993516ed5a93b15a449b7
tree69df3938fa284681193b6d3665a1fff475181c87
parent64ecbb6debdc7023f37f7f0f0b53b98b969a5674
[MIPS][microMIPS] Add a pattern to match TruncIntFP

A pattern needed to match TruncIntFP was missing. This was causing multiple
tests from llvm test suite to fail during compilation for micromips.

Patch by Mirko Brkusanin.

Differential Revision: https://reviews.llvm.org/D58722

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355825 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MicroMips32r6InstrInfo.td
lib/Target/Mips/MicroMipsInstrFPU.td
test/CodeGen/Mips/llvm-ir/fptosi.ll [new file with mode: 0644]