[PATCH] D21539: [X86] Set isMovImm for some X86 instructions

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 20 18:04:57 PDT 2016


MatzeB added a comment.

Glancing at the peephole optimizer code, isMoveImm is checked to figure out early whether TargetInstrInfo::FoldImmediate() will have any effect later. Seeing that X86 doesn't implement that function I would assume this patch to be pointless. (Or maybe we should implement FoldImmediate()?)


http://reviews.llvm.org/D21539





More information about the llvm-commits mailing list