[PATCH] D64125: [RISCV] Support @llvm.readcyclecounter() Intrinsic
Sam Elliott via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 3 03:21:40 PDT 2019
lenary marked 2 inline comments as done.
lenary added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/readcyclecounter.ll:20
+; RV32I-NEXT: # %bb.2:
+; RV32I-NEXT: .cfi_def_cfa_offset 0
+; RV32I-NEXT: ret
----------------
lebedev.ri wrote:
> If you change
> ```
> -define i64 @test_builtin_readcyclecounter() {
> +define i64 @test_builtin_readcyclecounter() nounwind {
> ```
> you should get rid of this CFI noise
Thanks for the tip!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64125/new/
https://reviews.llvm.org/D64125
More information about the llvm-commits
mailing list