Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
As for a testcase: I couldn't create a test with any no in-tree target where the undef reads wouldn't be optimized away earlier.
Comment Actions
Hi Matthias,
LGTM with a couple of comments.
Cheers,
-Quentin
| lib/CodeGen/RegisterCoalescer.cpp | ||
|---|---|---|
| 2637 | Not a big deal, but I’d do the API update as a separate commit. | |
| lib/CodeGen/VirtRegMap.cpp | ||
| 301 | Add a message in the assert, like precondition is violated, subreg must be != 0. | |
Not a big deal, but I’d do the API update as a separate commit.
Now, it feels kind of strange to have a coalescer change given we are fixing the VirtRegMap :).