[PowerPC] Fix readcyclecounter to be custom expanded for all 32-bit targets
authorHal Finkel <hfinkel@anl.gov>
Wed, 3 Dec 2014 00:19:17 +0000 (00:19 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 3 Dec 2014 00:19:17 +0000 (00:19 +0000)
commit01fa7701e6ddaba68ed9e093c9cb637138cc2698
tree9c219e6a87278657b65894a16f86b229215cfb8a
parentc93c84e882d763584ce4c8d911db50f2a0eacb9b
[PowerPC] Fix readcyclecounter to be custom expanded for all 32-bit targets

We need to use the custom expansion of readcyclecounter on all 32-bit targets
(even those with 64-bit registers). This should fix the ppc64 buildbot.

llvm-svn: 223182
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/ppc32-cyclecounter.ll