[llvm] [SelectionDAG] Propogate Disjoint flag. (PR #88370)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 12 07:40:35 PDT 2024


================
@@ -0,0 +1,22 @@
+; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
+; RUN: llc -mtriple=x86_64 %s -start-before=x86-isel -o - -stop-after=x86-isel | FileCheck %s
+
+define void @add_shl_or_disjoint(i32 %x, ptr addrspace(1) %o) {
----------------
fengfeng09 wrote:

This commit actually aimed at propagating the disjoint flag in DAGCombine. I choose MIR test just want to check the result of the seletion, no any other concern or consideration. Maybe ll test is more suitable as your suggestion. 

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


More information about the llvm-commits mailing list