[all-commits] [llvm/llvm-project] 3ec193: [SystemZ] Don't build a PPA instruction with an i...
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Tue Nov 26 02:22:15 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3ec193fb527e697faac4ef8f30934dd7bce849a7
https://github.com/llvm/llvm-project/commit/3ec193fb527e697faac4ef8f30934dd7bce849a7
Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
Date: 2019-11-26 (Tue, 26 Nov 2019)
Changed paths:
M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp
M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
Log Message:
-----------
[SystemZ] Don't build a PPA instruction with an immediate 0 operand.
The improvement in the machine verifier for operand types (D63973) discovered
a bad operand in a test using a PPA instruction. It was an immediate 0 where
a register was expected.
This patch fixes this (NFC) by now making the PPA second register operand
NoRegister instead of a zero immediate in the MIR.
Review: Ulrich Weigand
https://reviews.llvm.org/D70501
More information about the All-commits
mailing list