[PATCH] D158256: [RISCV] Fix assertion failure when zcmp extension is enabled.
garvit gupta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 29 22:16:00 PDT 2023
garvitgupta08 added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/zcmp-prolog-epilog-crash.mir:2
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 2
+# REQUIRES: asserts
+# RUN: llc %s -o - -mtriple=riscv32 -mattr=+zcmp -target-abi ilp32 -run-pass=prologepilog \
----------------
craig.topper wrote:
> Why does the test require asserts?
The assertion is hit only when asserts are enabled. With release build with no assert, it is able to generate some machine instructions
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158256/new/
https://reviews.llvm.org/D158256
More information about the llvm-commits
mailing list