[PATCH] D33482: [PPC] Fix assertion failure during binary encoding with -mcpu=pwr9

Kit Barton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 15:35:24 PDT 2017


kbarton accepted this revision.
kbarton added a comment.
This revision is now accepted and ready to land.

Aside from a spelling mistake, LGTM.



================
Comment at: lib/Target/PowerPC/PPCInstrInfo.cpp:1897
+    assert(MI.getOperand(2).isReg() && MI.getOperand(1).isImm() &&
+           "D-form op must have registrer and immediate operands");
     unsigned UpperOpcode, LowerOpcode;
----------------
Spelling: registrer -> register


https://reviews.llvm.org/D33482





More information about the llvm-commits mailing list