forked from OSchip/llvm-project
[PPC] Disable reg+reg to reg+imm transformation.
It creates invalid instructions. PR35688. llvm-svn: 321010
This commit is contained in:
parent
e44dea9f6b
commit
f4cc67acb6
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue