[PPC] Disable reg+reg to reg+imm transformation.

It creates invalid instructions. PR35688.

llvm-svn: 321010
This commit is contained in:
Benjamin Kramer 2017-12-18 18:56:57 +00:00
parent e44dea9f6b
commit f4cc67acb6
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ FixedPointRegToImm("ppc-reg-to-imm-fixed-point", cl::Hidden, cl::init(true),
"convert reg-reg instructions to reg-imm"));
static cl::opt<bool>
ConvertRegReg("ppc-convert-rr-to-ri", cl::Hidden, cl::init(true),
ConvertRegReg("ppc-convert-rr-to-ri", cl::Hidden, cl::init(false),
cl::desc("Convert eligible reg+reg instructions to reg+imm"));
static cl::opt<bool>