[PATCH] D76055: [SystemZ] Improve foldMemoryOperandImpl().
Jonas Paulsson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 23 09:15:10 PDT 2020
jonpa marked an inline comment as done.
jonpa added inline comments.
================
Comment at: llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp:1133
+ if (Opcode == SystemZ::LEFR) {
+ Register DstReg = MI.getOperand(0).getReg();
----------------
This handles just some 30-40 cases so I am not sure how useful this is, but I suppose it can be.
There are a few more (50?) unhandled cases of LEFR/LFER that appear to require things like new opcodes with special handlings or similar ('%gr64bit = LFER %vr32bit' for instance seems awkward to handle ...)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76055/new/
https://reviews.llvm.org/D76055
More information about the llvm-commits
mailing list