[PATCH] D75267: [AMDGPU] improve fragile test for divergent branches
Sameer Sahasrabuddhe via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 27 08:47:58 PST 2020
sameerds created this revision.
Herald added subscribers: llvm-commits, kerbowa, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75267
Files:
llvm/test/CodeGen/AMDGPU/divergent-branch-uniform-condition.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75267.246964.patch
Type: text/x-patch
Size: 6830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200227/8b1480d9/attachment.bin>
More information about the llvm-commits
mailing list