[PowerPC] Don't schedule VSX copy legalization unless VSX is enabled
authorHal Finkel <hfinkel@anl.gov>
Mon, 24 Mar 2014 09:51:41 +0000 (09:51 +0000)
committerHal Finkel <hfinkel@anl.gov>
Mon, 24 Mar 2014 09:51:41 +0000 (09:51 +0000)
commit2393d22ca416e32ae6cce89bb6ef1a2aba629630
treec6cf7898374012becb093cbefff957b4bc9dba6c
parent72448143b58b91d41ebc13087abc7ecebb2bd7e1
[PowerPC] Don't schedule VSX copy legalization unless VSX is enabled

There is no need to schedule this extra pass if it will have nothing to do.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204594 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCTargetMachine.cpp