[PATCH] D118250: AMDGPU: Mark control flow intrinsics non-duplicable
Ruiling, Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 22:29:32 PST 2023
ruiling added a comment.
I revisit the problem again. I agree we are allowed to duplicate such intrinsic based on the fact that the intrinsic lower has already support their usage in unstructured CFG. but the case shown that duplicating such intrinsics might not be helpful for generating better code. By making them non-duplicable, we would get simplified usage of control flow intrinsics. Some testing on large set of graphics shaders, the change causes no code generation differences.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118250/new/
https://reviews.llvm.org/D118250
More information about the llvm-commits
mailing list