[PATCH] D46599: [DbgInfo] Attempt to fix bug 37149

Son Tuan Vu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 9 15:43:18 PDT 2018


tyb0807 added a comment.

@aprantl Yes that is exactly what I am doing.
@rob.lougher As you pointed out, I was hoping that this change would not change the splitting in RegAlloc, but apparently it is not the case. The test added in https://reviews.llvm.org/D35953 does not pass anymore. Instead of

  [0x000000000000001f, 0x000000000000003c): DW_OP_reg3 RBX

we now have

  [0x000000000000000e,  0x0000000000000013): DW_OP_reg2 RCX
  [0x0000000000000013,  0x000000000000003c): DW_OP_reg3 RBX

I do not understand why though... RegAlloc should not be broken this way :(. I'll update a reduced test case reflecting the PR37149's issue so you can tell me how it should be fixed.

Thanks for the help!


Repository:
  rL LLVM

https://reviews.llvm.org/D46599





More information about the llvm-commits mailing list