aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileUtilities.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-02-14 21:40:26 +0000
committerChris Lattner <sabre@nondot.org>2005-02-14 21:40:26 +0000
commit145569b0761a1f902a5c132eb17995979769e348 (patch)
tree03fb98b604de5797854d4a62a125f49905be530c /llvm/lib/Support/FileUtilities.cpp
parent3d2881066b941c1a22f3bab91b7df8a4b007998c (diff)
downloadllvm-145569b0761a1f902a5c132eb17995979769e348.zip
llvm-145569b0761a1f902a5c132eb17995979769e348.tar.gz
llvm-145569b0761a1f902a5c132eb17995979769e348.tar.bz2
Print GEP offsets as signed values instead of unsigned values. On X86, this
prints: getelementptr (int* %A, int -1) as: "(A) - 4" instead of "(A) + 18446744073709551612", which makes the assembler much happier. This fixes test/Regression/CodeGen/X86/2005-02-14-IllegalAssembler.ll, and Benchmarks/Prolangs-C/cdecl with LLC on X86. llvm-svn: 20183
Diffstat (limited to 'llvm/lib/Support/FileUtilities.cpp')
0 files changed, 0 insertions, 0 deletions