diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-05-27 21:39:17 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-06-01 13:48:02 -0400 |
commit | 836c7dcf1238683ff18882affac1dae5ae5c5f79 (patch) | |
tree | 53c2a14dd5173ef34cc3d3522986284d45b6f7e9 /llvm/lib/CodeGen/LiveDebugValues.cpp | |
parent | f97a609b1763d7e343f52a7061727c4874bc26df (diff) | |
download | llvm-836c7dcf1238683ff18882affac1dae5ae5c5f79.zip llvm-836c7dcf1238683ff18882affac1dae5ae5c5f79.tar.gz llvm-836c7dcf1238683ff18882affac1dae5ae5c5f79.tar.bz2 |
DAG: Fix getNode dropping flags if there's a glue output
The AMDGPU non-strict fdiv lowering needs to introduce an FP mode
switch in some cases, and has custom nodes to provide chain/glue for
the intermediate FP operations. We need to propagate nofpexcept here,
but getNode was dropping the flags.
Adding nofpexcept in the AMDGPU custom lowering is left to a future
patch.
Also fix a second case where flags were dropped, but in this case it
seems it just didn't handle this number of operands.
Test will be included in future AMDGPU patch.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
0 files changed, 0 insertions, 0 deletions