================ @@ -0,0 +1,27 @@ +// RUN: %clang %s -S -emit-llvm -fextend-lifetimes -O2 -o - -fno-discard-value-names | FileCheck %s +// +// Check we can correctly produce fake uses for function-level variables even +// when we have a return in a nested conditional and there is no code at the end +// of the function. ---------------- jmorse wrote:
I see this is now O0 and disable-O0-optnone, would this not be even better spelt as just `-disable-llvm-passes`? IMHO that's a much more substantially direct way of signalling "none of LLVM will run". https://github.com/llvm/llvm-project/pull/110102 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits