diff options
author | Dan Gohman <dan433584@gmail.com> | 2015-09-23 16:59:10 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2015-09-23 16:59:10 +0000 |
commit | 979840d31fab3d8597e618e7a1b89b13f838079b (patch) | |
tree | 30a09f7603f10d6c0ddfdf884271cf4ff44cef86 /llvm/test/CodeGen/X86/fp-logic.ll | |
parent | 2812aa82d0cd9d626e4da81b5cf90dd3068aa3cc (diff) | |
download | bcm5719-llvm-979840d31fab3d8597e618e7a1b89b13f838079b.tar.gz bcm5719-llvm-979840d31fab3d8597e618e7a1b89b13f838079b.zip |
[WebAssembly] Fix hasAddr64 being used before being initializer.
This reverts r248388 and fixes the underlying bug: hasAddr64 was initialized
in runOnMachineFunction, but runOnMachineFunction isn't ever called in
CodeGen/WebAssembly/global.ll since that testcase has no functions. The fix
here is to use AsmPrinter's getPointerSize() as needed to determine the
pointer size instead.
llvm-svn: 248394
Diffstat (limited to 'llvm/test/CodeGen/X86/fp-logic.ll')
0 files changed, 0 insertions, 0 deletions