[llvm] [DropUnnecessaryAssumes] Make the ephemeral value check more precise (PR #160700)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 03:19:33 PDT 2025


================
@@ -1,6 +1,9 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
 ; RUN: opt -S -passes=drop-unnecessary-assumes < %s | FileCheck %s
 
+declare void @use(i32 %x)
----------------
artagnon wrote:

Could use llvm.fake.use?

https://github.com/llvm/llvm-project/pull/160700


More information about the llvm-commits mailing list