Using the "LHS" variable in the splitBinaryBitConstantOp() call is not valid since "LHS" and "RHS" may be swapped earlier in the code.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM with a nit below. Thanks!
llvm/test/CodeGen/AMDGPU/combine-reg-or-const.ll | ||
---|---|---|
2 | Can you auto generate this test before submitting? |
llvm/test/CodeGen/AMDGPU/combine-reg-or-const.ll | ||
---|---|---|
2 | Alternatively, you can add more checks for more context, thanks. |
Can you auto generate this test before submitting?