[PATCH] D152879: [RISCV] Model vxrm control for vsmul, vssra, vssrl, vnclip, and vnclipu

Jan Wassenberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 22 03:09:01 PDT 2023


jan-wassenberg added a comment.

Is there a way to detect whether the compiler already includes this change, preferably via preprocessor?
I tried `#ifdef __RISCV_VXRM_RDN` and `#if __has_builtin(__RISCV_VXRM_RDN)`.

This is a breaking change for us. Updating code to the new required signature fails to compile on the older toolchain (which is still in use). Leaving the code in the old style (no extra VXRM argument) is also not an option because other users have already updated their LLVM.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152879



More information about the cfe-commits mailing list