Remove the bare getSubtargetImpl call from the PPC port. As part
authorEric Christopher <echristo@gmail.com>
Sat, 21 Mar 2015 03:36:02 +0000 (03:36 +0000)
committerEric Christopher <echristo@gmail.com>
Sat, 21 Mar 2015 03:36:02 +0000 (03:36 +0000)
commit83eb13c9672a457eff4a74590b02d86bdb36b594
treef9488ea21bee0fae53dadbd594e3bd8b89b10a3c
parent230c26af3b292d11ab2feae85bd7356d35a5e477
Remove the bare getSubtargetImpl call from the PPC port. As part
of this add a test that shows we can generate code with
for functions that differ by subtarget feature.

llvm-svn: 232882
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
llvm/lib/Target/PowerPC/PPCTargetMachine.h
llvm/test/CodeGen/PowerPC/ppc-crbits-onoff.ll [new file with mode: 0644]