[PATCH] D139394: [RISCV] Add support for RISCV XVentanaCondops Extension
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 9 15:10:48 PST 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:303
- setOperationAction(ISD::SELECT, XLenVT, Custom);
+ if (!Subtarget.getFeatureBits()[RISCV::FeatureVendorXVentanaCondOps])
+ setOperationAction(ISD::SELECT, XLenVT, Custom);
----------------
Use `!Subtarget.hasVendorXVentanaCondOps()`
================
Comment at: llvm/test/CodeGen/RISCV/xventanacondops.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=riscv64 -mattr=+xventanacondops < %s | FileCheck %s -check-prefix=RV64
+
----------------
Drop --check-prefix and use the default CHECK
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139394/new/
https://reviews.llvm.org/D139394
More information about the llvm-commits
mailing list