summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2015-07-02 19:01:22 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2015-07-02 19:01:22 +0000
commita1c30053e7b88b190f3c064a53f6bb075853ad1e (patch)
tree4c2e7b3b5918c3a992b610992f525746b75d01f1 /clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
parenta868c13c51a60dec1870c7b3896e509b9bfab9cc (diff)
downloadbcm5719-llvm-a1c30053e7b88b190f3c064a53f6bb075853ad1e.tar.gz
bcm5719-llvm-a1c30053e7b88b190f3c064a53f6bb075853ad1e.zip
[PPC64LE] Remove implicit-subreg restriction from VSX swap removal
In r241285, I removed the SUBREG_TO_REG restriction from VSX swap removal, determining that this was overly conservative. We have another form of the same restriction in that we check for the presence of implicit subregs in vector operations. As with SUBREG_TO_REG for partial register conversions, an implicit subreg is safe in and of itself, provided no other operation makes a lane-sensitive assumption about the result. This patch removes that restriction, by removing the HasImplicitSubreg flag and all code that relies on it. I've added a test case that fails to optimize before this patch is applied, and optimizes properly with the patch. Test based on a report from Anton Blanchard. llvm-svn: 241290
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiateDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud