[PATCH] D35928: [XRay][X86] Use a valid instruction for the synthetic reference.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 22:31:31 PDT 2017
craig.topper added a comment.
Does xray only work on 64-bit x86?
R10D isn't a valid register for MOV64ri. It should be R10. The D is the 32-bit size.
I can't think of a better instruction if you need all the bits. movabsq is the only instruciton that takes a 64-bit immediate. The only other option might be one of the loads into al/ax/eax/rax from a 64-bit absolute address.
https://reviews.llvm.org/D35928
More information about the llvm-commits
mailing list