actinks wrote: > Please add a test. Added llvm/test/CodeGen/NVPTX/i1-load-chain.ll; it fails without the fix. It asserts the DAG because the PTX is unchanged — the scheduler keeps the two in order even without the edge. https://github.com/llvm/llvm-project/pull/230497