aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2016-05-12 04:00:56 +0000
committerHal Finkel <hfinkel@anl.gov>2016-05-12 04:00:56 +0000
commit1fb10e846a22f0569372f71c1ad2d68997d70779 (patch)
tree85d797dcb3b925dc8874dfa7cd5f2fe70680620b /clang/unittests/Basic/VirtualFileSystemTest.cpp
parent7f980d842cf9e89185fdedfd7e0c9ec279b775f5 (diff)
downloadllvm-1fb10e846a22f0569372f71c1ad2d68997d70779.zip
llvm-1fb10e846a22f0569372f71c1ad2d68997d70779.tar.gz
llvm-1fb10e846a22f0569372f71c1ad2d68997d70779.tar.bz2
[PowerPC] Fix a DAG replacement bug in PPCTargetLowering::DAGCombineExtBoolTrunc
While promoting nodes in PPCTargetLowering::DAGCombineExtBoolTrunc, it is possible for one of the nodes to be replaced by another. To make sure we do not visit the deleted nodes, and to make sure we visit the replacement nodes, use a list of HandleSDNodes to track the to-be-promoted nodes during the promotion process. The same fix has been applied to the analogous code in PPCTargetLowering::DAGCombineTruncBoolExt. Fixes PR26985. llvm-svn: 269272
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions