[PATCH] D30134: AMDGPU: Fold FP clamp as modifier bit
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 17 23:29:22 PST 2017
arsenm created this revision.
Herald added subscribers: tpr, tony-tye, yaxunl, nhaehnle, wdng, kzhuravl.
The manual is unclear on the details of this. It's not
clear to me if denormals are not allowed with clamp,
or if that is only omod. Not allowing denorms for
fp16 or fp64 isn't useful so I also question if that
is really a restriction. Same with whether this is valid
without IEEE mode enabled.
https://reviews.llvm.org/D30134
Files:
lib/Target/AMDGPU/SIDefines.h
lib/Target/AMDGPU/SIFoldOperands.cpp
lib/Target/AMDGPU/SIInstrFormats.td
lib/Target/AMDGPU/SIInstrInfo.h
lib/Target/AMDGPU/SIInstrInfo.td
lib/Target/AMDGPU/VOPInstructions.td
test/CodeGen/AMDGPU/clamp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30134.89018.patch
Type: text/x-patch
Size: 8373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170218/d273387d/attachment-0001.bin>
More information about the llvm-commits
mailing list