[PATCH] D51502: [X86] Fix register resizings for inline assembly register operands.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 30 12:24:07 PDT 2018


efriedma added inline comments.


================
Comment at: llvm/test/CodeGen/X86/pr38730.ll:22
+  %0 = load i32, i32* @a, align 4
+  %1 = tail call { i64, i32 } asm "", "={edx},=r,1,~{dirflag},~{fpsr},~{flags}"(i32 %0)
+  %asmresult1 = extractvalue { i64, i32 } %1, 1
----------------
Shouldn't this be an error? I can't see how it's possible to put a 64-bit value into edx.


Repository:
  rL LLVM

https://reviews.llvm.org/D51502





More information about the llvm-commits mailing list