mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Promote to v1i64 type...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35353 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aadcea33d1
commit
ab5b49d92e
@ -330,22 +330,28 @@ X86TargetLowering::X86TargetLowering(TargetMachine &TM)
|
||||
setOperationAction(ISD::MUL, MVT::v4i16, Legal);
|
||||
|
||||
setOperationAction(ISD::AND, MVT::v8i8, Promote);
|
||||
AddPromotedToType (ISD::AND, MVT::v8i8, MVT::v2i32);
|
||||
AddPromotedToType (ISD::AND, MVT::v8i8, MVT::v1i64);
|
||||
setOperationAction(ISD::AND, MVT::v4i16, Promote);
|
||||
AddPromotedToType (ISD::AND, MVT::v4i16, MVT::v2i32);
|
||||
setOperationAction(ISD::AND, MVT::v2i32, Legal);
|
||||
AddPromotedToType (ISD::AND, MVT::v4i16, MVT::v1i64);
|
||||
setOperationAction(ISD::AND, MVT::v2i32, Promote);
|
||||
AddPromotedToType (ISD::AND, MVT::v2i32, MVT::v1i64);
|
||||
setOperationAction(ISD::AND, MVT::v1i64, Legal);
|
||||
|
||||
setOperationAction(ISD::OR, MVT::v8i8, Promote);
|
||||
AddPromotedToType (ISD::OR, MVT::v8i8, MVT::v2i32);
|
||||
AddPromotedToType (ISD::OR, MVT::v8i8, MVT::v1i64);
|
||||
setOperationAction(ISD::OR, MVT::v4i16, Promote);
|
||||
AddPromotedToType (ISD::OR, MVT::v4i16, MVT::v2i32);
|
||||
setOperationAction(ISD::OR, MVT::v2i32, Legal);
|
||||
AddPromotedToType (ISD::OR, MVT::v4i16, MVT::v1i64);
|
||||
setOperationAction(ISD::OR, MVT::v2i32, Promote);
|
||||
AddPromotedToType (ISD::OR, MVT::v2i32, MVT::v1i64);
|
||||
setOperationAction(ISD::OR, MVT::v1i64, Legal);
|
||||
|
||||
setOperationAction(ISD::XOR, MVT::v8i8, Promote);
|
||||
AddPromotedToType (ISD::XOR, MVT::v8i8, MVT::v2i32);
|
||||
AddPromotedToType (ISD::XOR, MVT::v8i8, MVT::v1i64);
|
||||
setOperationAction(ISD::XOR, MVT::v4i16, Promote);
|
||||
AddPromotedToType (ISD::XOR, MVT::v4i16, MVT::v2i32);
|
||||
setOperationAction(ISD::XOR, MVT::v2i32, Legal);
|
||||
AddPromotedToType (ISD::XOR, MVT::v4i16, MVT::v1i64);
|
||||
setOperationAction(ISD::XOR, MVT::v2i32, Promote);
|
||||
AddPromotedToType (ISD::XOR, MVT::v2i32, MVT::v1i64);
|
||||
setOperationAction(ISD::XOR, MVT::v1i64, Legal);
|
||||
|
||||
setOperationAction(ISD::LOAD, MVT::v8i8, Promote);
|
||||
AddPromotedToType (ISD::LOAD, MVT::v8i8, MVT::v1i64);
|
||||
|
Loading…
Reference in New Issue
Block a user