mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
R600/SI: Fix select on i1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213096 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -182,6 +182,9 @@ SITargetLowering::SITargetLowering(TargetMachine &TM) :
|
||||
MVT::v8i32, MVT::v8f32, MVT::v16i32, MVT::v16f32
|
||||
};
|
||||
|
||||
setOperationAction(ISD::SELECT_CC, MVT::i1, Expand);
|
||||
setOperationAction(ISD::SELECT, MVT::i1, Promote);
|
||||
|
||||
for (MVT VT : VecTypes) {
|
||||
for (unsigned Op = 0; Op < ISD::BUILTIN_OP_END; ++Op) {
|
||||
switch(Op) {
|
||||
|
||||
Reference in New Issue
Block a user