OSDN Git Service

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)
commitbc473edd7bf31c57d272fc225667ce66ec8c7d71
tree2aed6ebdb16daf26386b30411a530385ebb2ac1c
parentf2b4a7f862527a58fc521898e33447f582a133d5
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232882 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCTargetMachine.cpp
lib/Target/PowerPC/PPCTargetMachine.h
test/CodeGen/PowerPC/ppc-crbits-onoff.ll [new file with mode: 0644]