[PATCH] D38333: [X86] Fix using the SJLJ jump table on x86_64

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 28 13:38:27 PDT 2017


mstorsjo added inline comments.


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:26605
+          .addImm(4)
+          .addReg(IReg64)
+          .addImm(0)
----------------
If building with optimizations, this works as intended. If building without optimizations, this actually uses another, uninitialized register here instead of IReg expanded to 64 bit (as done with `TargetOpcode::COPY` above). Does anybody happen to have a hint about why that happens?


https://reviews.llvm.org/D38333





More information about the llvm-commits mailing list