[PATCH] D85233: [GlobalISel] Implement bit-test switch table optimization

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 4 14:55:39 PDT 2020


aemerson added inline comments.


================
Comment at: llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp:763
+                                  RangeSub, RangeCst);
+    MIB.buildBrCond(RangeCmp.getReg(0), *B.Default);
+  }
----------------
arsenm wrote:
> Still have the .getReg not that it really matters
I'll remove it before commit.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85233/new/

https://reviews.llvm.org/D85233



More information about the llvm-commits mailing list