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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 03:32:43 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)
----------------
nikic wrote:

This is an intrinsic related to debug info preservation, I don't think we should use it more generally.

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


More information about the llvm-commits mailing list