Support register and frame-index pair correctly as operands of
generic load/store instrucitons, e.g. LD1BZXrri, STLrri, and etc.
Add regression tests also.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM apart from the slightly convoluted test case.
llvm/test/CodeGen/VE/loadrri.ll | ||
---|---|---|
56–62 | These types are only used to allocate a pointer (test func_rf) that is then immediately bitcast to the type below. |
Comment Actions
I'll update regression test.
llvm/test/CodeGen/VE/loadrri.ll | ||
---|---|---|
56–62 | I think those unnecessary bit casts and types are the key of this regression test. I'll try to simplify this test little bit. |
These types are only used to allocate a pointer (test func_rf) that is then immediately bitcast to the type below.
Couldn't we just allocate the type below directly? We could then remove the types, the bitcast and also simplify the name to something like basic_char_string.