[DAG] Adding MVT::widenIntegerElementType to widen both Scalar and Vectors of integer type.#207148
Conversation
|
cc @RKSimon |
RKSimon
left a comment
There was a problem hiding this comment.
Find a few examples of uses - no need to be exhaustive, but you should have scalar vector and combined scalar/vector coverage.
HexagonISelLowering.cpp has a few examples
|
I have made few replacement in Hexagon target files and ran check-llvm test. I would appreciate if someone from Hexagon target maintainer could take a look. Changes seem minor to my eyes. Thank you. |
| nxv2i32.getSizeInBits()); | ||
| } | ||
|
|
||
| TEST(ScalableVectorMVTsTest, WideningIntegerMVTs) { |
There was a problem hiding this comment.
None of these are scalable vector tests
There was a problem hiding this comment.
Could you kindly point me to the file where these tests should go ? or should I add new unittest file MVTTests.cpp with these tests?
RKSimon
left a comment
There was a problem hiding this comment.
LGTM - cheers (Codegen usage is a lot more useful than unit tests here)
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/228/builds/4056 Here is the relevant piece of the build log for the reference |
Fixes build failure introduced by commit [736771b] (736771b) into llvm:main Ref : #207148 Failure : https://lab.llvm.org/buildbot/#/builders/228/builds/4056
Fixes build failure introduced by commit [736771b] (llvm/llvm-project@736771b) into llvm:main Ref : llvm/llvm-project#207148 Failure : https://lab.llvm.org/buildbot/#/builders/228/builds/4056
Fixes build failure introduced by commit [736771b] (llvm/llvm-project@736771b) into llvm:main Ref : llvm/llvm-project#207148 Failure : https://lab.llvm.org/buildbot/#/builders/228/builds/4056
Fixes build failure introduced by commit [736771b] (llvm/llvm-project@736771b) into llvm:main Ref : llvm/llvm-project#207148 Failure : https://lab.llvm.org/buildbot/#/builders/228/builds/4056
Adding MVT::widenIntegerElementType to widen both Scalar and Vectors of integer type. e.g. i16 -> i32, v8i32->v8i64.
fixes #206730