GlobalISel: respect BooleanContents when extending i1.
authorTim Northover <tnorthover@apple.com>
Tue, 21 Mar 2017 22:22:05 +0000 (22:22 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 21 Mar 2017 22:22:05 +0000 (22:22 +0000)
commit548feeecd36a9cb89d80cce3577aaf741e855fae
tree49ab4c7513dcfbae716de8ee9e84ad828db08edf
parent5b20fbb7483a1db777e2c84b5a547916db29c940
GlobalISel: respect BooleanContents when extending i1.

The world isn't just x86 & ARM, some targets need to store -1 into the byte
when legalizing a bool store.

llvm-svn: 298453
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp