diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-10-05 17:38:30 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-10-05 17:38:30 +0000 |
commit | 2d3f8f333d676e7d051680a1ca9254df185797af (patch) | |
tree | 2bc7a8fb5b3a8ea3a7f22d859ae5e41f39332081 /llvm/lib | |
parent | 1b51cbddf42c2a7a069bf36710fcefe2c1fd6f7b (diff) | |
download | bcm5719-llvm-2d3f8f333d676e7d051680a1ca9254df185797af.tar.gz bcm5719-llvm-2d3f8f333d676e7d051680a1ca9254df185797af.zip |
AMDGPU: Set v2i32 any_extend to expand
llvm-svn: 314993
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp index 3a125c2e7e4..fac2b03fa2f 100644 --- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp +++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp @@ -468,6 +468,7 @@ SITargetLowering::SITargetLowering(const TargetMachine &TM, setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v2i16, Custom); setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v2f16, Custom); + setOperationAction(ISD::ANY_EXTEND, MVT::v2i32, Expand); setOperationAction(ISD::ZERO_EXTEND, MVT::v2i32, Expand); setOperationAction(ISD::SIGN_EXTEND, MVT::v2i32, Expand); setOperationAction(ISD::FP_EXTEND, MVT::v2f32, Expand); |