Added tests are permutations of the pattern: (X & ~M) or (Y & M).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/test/CodeGen/X86/or-lea.ll | ||
|---|---|---|
| 154 | Why have you used i16? That is the one type that x86 will try very hard to promote to i32/64 for a shorter encoding and to break partial register dependencies. | |
| llvm/test/CodeGen/X86/or-lea.ll | ||
|---|---|---|
| 154 | I see, thanks. Any suggestion for a type better suited for those tests? | |
| llvm/test/CodeGen/X86/or-lea.ll | ||
|---|---|---|
| 154 | Probably a mixture of i32 and i64 tests? Also, please don't just number tests - try to give them descriptive names like most of these existing tests in this file. | |
Why have you used i16? That is the one type that x86 will try very hard to promote to i32/64 for a shorter encoding and to break partial register dependencies.