[PATCH] D36229: [X86][Asm] Allow negative immediate to appear before bracketed expression
coby via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 9 14:20:36 PDT 2017
coby added inline comments.
================
Comment at: lib/Target/X86/AsmParser/X86AsmParser.cpp:1943
// Otherwise, rewrite the complex expression as a single immediate.
InstInfo->AsmRewrites->emplace_back(AOK_Imm, Start, Len, Imm);
}
----------------
efriedma wrote:
> It looks like this is implicitly truncating Imm from int64_t to int?
Indeed. thx :)
Repository:
rL LLVM
https://reviews.llvm.org/D36229
More information about the llvm-commits
mailing list