summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2018-07-05 17:05:36 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2018-07-05 17:05:36 +0000
commit24ce89b7178ef227564c5b512ccad210db3a4cc5 (patch)
tree77dd436d3c72f1a5ef0a5ed022489357d59a26f3 /clang/lib/Frontend/CompilerInvocation.cpp
parent2d47310071e1e718f59553781aea9e8aa0bcfba8 (diff)
downloadbcm5719-llvm-24ce89b7178ef227564c5b512ccad210db3a4cc5.tar.gz
bcm5719-llvm-24ce89b7178ef227564c5b512ccad210db3a4cc5.zip
Fix asserts in AMDGCN fmed3 folding by handling more cases of NaN
Better NaN handling for AMDGCN fmed3. All operands are checked for NaN now. The checks were moved before the canonicalization to provide a better mapping from fclamp. Changed the behaviour of fmed3(x,y,NaN) to return max(x,y) instead of min(x,y) in light of this. Updated tests as a result and added some new cases to cover the fix. Patch by Alan Baker llvm-svn: 336375
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud