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
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
470 ms | x64 debian > Polly.ScopInliner::simple-inline-loop.ll |
Event Timeline
Comment Actions
LGTM with a nit below. Thanks!
llvm/test/CodeGen/AMDGPU/combine-reg-or-const.ll | ||
---|---|---|
1 | Can you auto generate this test before submitting? |
llvm/test/CodeGen/AMDGPU/combine-reg-or-const.ll | ||
---|---|---|
1 | Alternatively, you can add more checks for more context, thanks. |
clang-format: please reformat the code