[PATCH] D65649: [RISCV] Add MC encodings and tests of the Bit Manipulation extension

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 13 15:10:14 PST 2020


evandro added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:155
+
+  if(!Subtarget.hasStdExtB()) {
+    setOperationAction(ISD::CTTZ, XLenVT, Expand);
----------------
The more granular check (`hasStdExtZbb()`?) should be used here instead.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65649





More information about the llvm-commits mailing list