diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2019-02-26 20:56:25 +0000 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2019-02-26 20:56:25 +0000 |
commit | da1628eb679d2921e5d683e51cc9ecf6e5750295 (patch) | |
tree | b925208af4615754ff253253172bae28cb67d0af /clang/test/Sema/asm.c | |
parent | ddc181d2561b14b95e7b3afbacaa0e55d16ea733 (diff) | |
download | bcm5719-llvm-da1628eb679d2921e5d683e51cc9ecf6e5750295.tar.gz bcm5719-llvm-da1628eb679d2921e5d683e51cc9ecf6e5750295.zip |
[AMDGPU] Fixed hang during DAG combine
SITargetLowering::reassociateScalarOps() does not touch constants
so that DAGCombiner::ReassociateOps() does not revert the combine.
However a global address is not a ConstantSDNode.
Switched to the method used by DAGCombiner::ReassociateOps() itself
to detect constants.
Differential Revision: https://reviews.llvm.org/D58695
llvm-svn: 354926
Diffstat (limited to 'clang/test/Sema/asm.c')
0 files changed, 0 insertions, 0 deletions