Redundant Copy Elimination was eliminating a MOVi32imm -1 when it
determined that the value of the destination register is already -1.
However, it didn't take into account that the MOVi32imm zeroes the upper
32 bits (which are FFFFFFFF) and therefore cannot be eliminated.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60 ms | x64 windows > LLVM.CodeGen/XCore::threads.ll |
Event Timeline
Comment Actions
I don't have commit access yet, so if somebody would be willing to commit this for me that would be greatly appreciated. The author should be "Tomas Matheson <Tomas.Matheson@arm.com>".
Comment Actions
I'll wait to give other reviewers a chance to comment, but otherwise I'll commit it for you tomorrow.
clang-format not found in user's PATH; not linting file.