[llvm] [InstCombine] Drop UB-implying attrs/metadata after speculating an instruction (PR #85542)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 16 10:03:07 PDT 2024
================
@@ -0,0 +1,44 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
+; RUN: opt -S -passes=instcombine < %s | FileCheck %s
+
+define i8 @test_drop_noundef(i1 %cond, i8 %val) {
----------------
nikic wrote:
Can you please add the test next to other tests for this fold? I think they're in intrinsic-select.ll.
https://github.com/llvm/llvm-project/pull/85542
More information about the llvm-commits
mailing list