[PATCH] D102822: [Clang][CodeGen] Set the size of llvm.lifetime to unknown for scalable types.
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 4 09:29:17 PDT 2021
craig.topper added inline comments.
================
Comment at: clang/test/CodeGen/RISCV/riscv-v-lifetime.cpp:3
+// REQUIRES: riscv-registered-target
+// RUN: %clang_cc1 -std=c++11 -triple riscv64 -target-feature +experimental-v \
+// RUN: -emit-llvm -O1 -o - %s | FileCheck %s
----------------
sdesmalen wrote:
> craig.topper wrote:
> > Probably best to add -disable-llvm-passes so we don't run the optimizer.
> nit: Does `-O1` still have any effect if `-disable-llvm-passes` is also set?
Lifetime markers aren't emitted with -O0.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102822/new/
https://reviews.llvm.org/D102822
More information about the cfe-commits
mailing list