This lets us optimize away selects that perform the same address computation in two different ways and is also the first step towards being able to handle selects between two different, but compatible, address computations.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/CodeGen/CodeGenPrepare.cpp | ||
---|---|---|
4462 ↗ | (On Diff #116568) | Please update at least this comment. Now the variable PhiSeen means not only Phi but also Select. |
Comment Actions
It's quite possible that we never actually see this kind of input, but this patch is just part of D38133 that's been split out to simplify things.
lib/CodeGen/CodeGenPrepare.cpp | ||
---|---|---|
4396 ↗ | (On Diff #116659) | Please consider separation PhiSeen and SelectSeen, we probably will need it in future. |