This transformation could've triggered a verifier assert if RegA and RegB
were of different reg classes. Fix this by constraining as the comment
for replaceRegWith suggests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, but clean test up before committing.
llvm/test/CodeGen/AArch64/statepoint-twoaddr.mir | ||
---|---|---|
37 | Please remove redundant constant arguments. Just in case, format of statepoint MI is as follows: /// <id>, <num patch bytes>, <num call arguments>, <call target>, /// [call arguments...], /// <StackMaps::ConstantOp>, <calling convention>, /// <StackMaps::ConstantOp>, <statepoint flags>, /// <StackMaps::ConstantOp>, <num deopt args>, [deopt args...], /// <StackMaps::ConstantOp>, <num gc pointers>, [gc pointers...], /// <StackMaps::ConstantOp>, <num gc allocas>, [gc allocas...] /// <num entries in gc map>, <base/derived indices...> Where StackMaps::ConstantOp is literal '2' above. |
clang-format not found in user’s local PATH; not linting file.