[PATCH] D30411: AMDGPU: Don't fold immediate if clamp/omod are set
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 27 09:04:56 PST 2017
arsenm created this revision.
Herald added subscribers: tpr, dstuttard, tony-tye, yaxunl, nhaehnle, wdng, kzhuravl.
Doesn't fix any practical problems because clamp/omod
are currently folded after peephole optimizer.
https://reviews.llvm.org/D30411
Files:
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIInstrInfo.h
test/CodeGen/AMDGPU/fold-immediate-output-mods.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30411.89893.patch
Type: text/x-patch
Size: 14151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170227/4934ec86/attachment.bin>
More information about the llvm-commits
mailing list