[all-commits] [llvm/llvm-project] 0c8a21: [AMDGPU] improve fragile test for divergent branches
Sameer Sahasrabuddhe via All-commits
all-commits at lists.llvm.org
Thu Feb 27 10:01:44 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0c8a21879872c8ca8aa5966263f9d67207b3108e
https://github.com/llvm/llvm-project/commit/0c8a21879872c8ca8aa5966263f9d67207b3108e
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2020-02-27 (Thu, 27 Feb 2020)
Changed paths:
M llvm/test/CodeGen/AMDGPU/divergent-branch-uniform-condition.ll
Log Message:
-----------
[AMDGPU] improve fragile test for divergent branches
Summary:
The affected LIT test intends to test the correct use of divergence
analysis to detect a divergent branch with a uniform predicate. The
passes involved are LLVM IR passes, but the test runs llc and tries to
match against generated ISA, which makes it hard to demonstrate that
the intended behavior was really tested. Replaced this with a test
that invokes opt on the required passes and then checks for the
appropriate changes in the LLVM IR.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D75267
More information about the All-commits
mailing list