Fix for PR26180
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Mon, 29 Feb 2016 16:42:27 +0000 (16:42 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Mon, 29 Feb 2016 16:42:27 +0000 (16:42 +0000)
commit1a5706ca1bbf4028fb01424238ae1d22f0f64ba6
treeb7564d1e5b9e850fe07f000554f7b1dbb17eae6e
parent4823631af475410cb7c2c47af28ed010bf956d45
Fix for PR26180

Corresponds to Phabricator review:
http://reviews.llvm.org/D16592

This fix includes both an update to how we handle the "generic" CPU on LE
systems as well as Anton's fix for the Fast Isel issue.

llvm-svn: 262233
llvm/lib/Target/PowerPC/PPCFastISel.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCSubtarget.cpp
llvm/test/CodeGen/PowerPC/pr26180.ll [new file with mode: 0644]