[PATCH] D29937: [RISCV 15/n] Implement lowering of ISD::SELECT_CC

Ana Pazos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 13:18:01 PDT 2017


apazos added inline comments.


================
Comment at: lib/Target/RISCV/RISCVISelLowering.cpp:89
+static unsigned getBranchOpcodeForIntCondCode(ISD::CondCode CC) {
+  switch (CC) {
+  case ISD::SETEQ:
----------------
You might want to be consistent in code standard in the file and put the default case as the top one like done above.


https://reviews.llvm.org/D29937





More information about the llvm-commits mailing list