Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Issue 1151093004: Changes from 3.7 merge to files not in upstream (Closed)

Created:
5 years, 7 months ago by Derek Schuff
Modified:
5 years, 3 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Changes from 3.7 merge to files not in upstream

Patch Set 1 #

Total comments: 22
Unified diffs Side-by-side diffs Delta from patch set Stats (+2043 lines, -2076 lines) Patch
M include/llvm/Analysis/NaCl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M include/llvm/Analysis/NaCl/PNaClABIProps.h View 1 chunk +2 lines, -2 lines 0 comments Download
M include/llvm/Analysis/NaCl/PNaClABITypeChecker.h View 1 chunk +2 lines, -2 lines 0 comments Download
M include/llvm/Analysis/NaCl/PNaClABIVerifyFunctions.h View 2 chunks +2 lines, -3 lines 0 comments Download
M include/llvm/Analysis/NaCl/PNaClABIVerifyModule.h View 1 chunk +2 lines, -2 lines 0 comments Download
M include/llvm/Analysis/NaCl/PNaClAllowedIntrinsics.h View 2 chunks +4 lines, -2 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClAnalyzerBlockDist.h View 2 chunks +4 lines, -5 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClBitcodeAbbrevDist.h View 1 chunk +2 lines, -3 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClBitcodeBitsAndAbbrevsDist.h View 1 chunk +2 lines, -3 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClBitcodeBitsDist.h View 1 chunk +2 lines, -4 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClBitcodeBlockDist.h View 2 chunks +3 lines, -4 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClBitcodeCodeDist.h View 2 chunks +4 lines, -6 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClBitcodeDist.h View 2 chunks +4 lines, -4 lines 2 comments Download
M include/llvm/Bitcode/NaCl/NaClBitcodeHeader.h View 2 chunks +4 lines, -4 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClBitcodeParser.h View 4 chunks +7 lines, -7 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClBitcodeSizeDist.h View 1 chunk +2 lines, -3 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClBitcodeSubblockDist.h View 2 chunks +3 lines, -3 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClBitcodeValueDist.h View 3 chunks +6 lines, -7 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClBitstreamReader.h View 3 chunks +6 lines, -6 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClObjDumpStream.h View 2 chunks +4 lines, -4 lines 0 comments Download
M include/llvm/IR/NaClAtomicIntrinsics.h View 1 chunk +3 lines, -3 lines 0 comments Download
M lib/Analysis/NaCl/PNaClABIVerifyFunctions.cpp View 3 chunks +9 lines, -3 lines 0 comments Download
M lib/Analysis/NaCl/PNaClAllowedIntrinsics.cpp View 2 chunks +71 lines, -79 lines 0 comments Download
M lib/Bitcode/NaCl/Analysis/LLVMBuild.txt View 1 chunk +1 line, -1 line 0 comments Download
M lib/Bitcode/NaCl/Analysis/NaClCompress.cpp View 3 chunks +5 lines, -9 lines 0 comments Download
M lib/Bitcode/NaCl/Analysis/NaClObjDump.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h View 2 chunks +9 lines, -0 lines 0 comments Download
M lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp View 2 chunks +7 lines, -2 lines 2 comments Download
M lib/Bitcode/NaCl/TestUtils/LLVMBuild.txt View 1 chunk +1 line, -1 line 0 comments Download
M lib/Bitcode/NaCl/Writer/NaClValueEnumerator.h View 1 chunk +2 lines, -2 lines 0 comments Download
M lib/Bitcode/NaCl/Writer/NaClValueEnumerator.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/MC/MCNaCl.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M lib/Target/ARM/MCTargetDesc/ARMMCNaCl.cpp View 3 chunks +6 lines, -2 lines 0 comments Download
M lib/Target/JSBackend/JSBackend.cpp View 10 chunks +13 lines, -15 lines 2 comments Download
M lib/Target/JSBackend/JSTargetMachine.h View 1 chunk +2 lines, -18 lines 0 comments Download
M lib/Target/JSBackend/JSTargetMachine.cpp View 1 chunk +8 lines, -9 lines 0 comments Download
A lib/Target/JSBackend/JSTargetTransformInfo.h View 1 chunk +80 lines, -0 lines 0 comments Download
M lib/Target/JSBackend/JSTargetTransformInfo.cpp View 6 chunks +18 lines, -81 lines 2 comments Download
M lib/Target/JSBackend/LLVMBuild.txt View 1 chunk +1 line, -1 line 0 comments Download
M lib/Target/X86/MCTargetDesc/X86MCNaCl.cpp View 3 chunks +2 lines, -10 lines 0 comments Download
M lib/Target/X86/X86NaClRewritePass.cpp View 2 chunks +30 lines, -14 lines 0 comments Download
M lib/Transforms/MinSFI/LLVMBuild.txt View 1 chunk +1 line, -1 line 0 comments Download
M lib/Transforms/MinSFI/MinSFI.cpp View 1 chunk +1 line, -1 line 0 comments Download
M lib/Transforms/MinSFI/SandboxIndirectCalls.cpp View 4 chunks +16 lines, -17 lines 0 comments Download
M lib/Transforms/NaCl/BackendCanonicalize.cpp View 4 chunks +5 lines, -6 lines 0 comments Download
M lib/Transforms/NaCl/ConstantInsertExtractElementIndex.cpp View 2 chunks +1 line, -5 lines 2 comments Download
M lib/Transforms/NaCl/ExpandCtors.cpp View 1 chunk +1 line, -1 line 0 comments Download
M lib/Transforms/NaCl/ExpandI64.cpp View 8 chunks +6 lines, -12 lines 0 comments Download
M lib/Transforms/NaCl/ExpandInsertExtractElement.cpp View 2 chunks +8 lines, -4 lines 0 comments Download
M lib/Transforms/NaCl/ExpandStructRegs.cpp View 8 chunks +13 lines, -12 lines 0 comments Download
M lib/Transforms/NaCl/ExpandTls.cpp View 6 chunks +11 lines, -9 lines 0 comments Download
M lib/Transforms/NaCl/FixVectorLoadStoreAlignment.cpp View 5 chunks +4 lines, -7 lines 2 comments Download
M lib/Transforms/NaCl/GlobalizeConstantVectors.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M lib/Transforms/NaCl/LLVMBuild.txt View 1 chunk +1 line, -1 line 0 comments Download
M lib/Transforms/NaCl/LowerEmAsyncify.cpp View 8 chunks +9 lines, -14 lines 0 comments Download
M lib/Transforms/NaCl/LowerEmSetjmp.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M lib/Transforms/NaCl/NoExitRuntime.cpp View 2 chunks +1 line, -2 lines 2 comments Download
M lib/Transforms/NaCl/PNaClABISimplify.cpp View 1 chunk +1 line, -1 line 0 comments Download
M lib/Transforms/NaCl/PNaClSjLjEH.cpp View 1 chunk +6 lines, -6 lines 0 comments Download
M lib/Transforms/NaCl/PromoteIntegers.cpp View 1 chunk +1 line, -1 line 0 comments Download
M lib/Transforms/NaCl/RemoveAsmMemory.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M lib/Transforms/NaCl/ReplacePtrsWithInts.cpp View 3 chunks +2 lines, -32 lines 2 comments Download
M lib/Transforms/NaCl/ResolvePNaClIntrinsics.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M lib/Transforms/NaCl/RewriteAtomics.cpp View 3 chunks +4 lines, -7 lines 0 comments Download
M lib/Transforms/NaCl/RewriteLLVMIntrinsics.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M lib/Transforms/NaCl/SimplifyAllocas.cpp View 4 chunks +27 lines, -3 lines 0 comments Download
M lib/Transforms/NaCl/SimplifyStructRegSignatures.cpp View 3 chunks +3 lines, -4 lines 0 comments Download
M test/CodeGen/ARM/atomic-16bit-nacl.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/CodeGen/JS/aliases.ll View 2 chunks +12 lines, -12 lines 0 comments Download
M test/CodeGen/JS/allocamanager.ll View 3 chunks +32 lines, -32 lines 0 comments Download
M test/CodeGen/JS/allocamanager-phis.ll View 6 chunks +17 lines, -17 lines 0 comments Download
M test/CodeGen/JS/blockchanges.ll View 7 chunks +15 lines, -27 lines 0 comments Download
M test/CodeGen/JS/expand-i64.ll View 2 chunks +7 lines, -7 lines 0 comments Download
M test/CodeGen/JS/getelementptr.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/CodeGen/JS/globals.ll View 1 chunk +3 lines, -3 lines 0 comments Download
M test/CodeGen/JS/simd-loadstore.ll View 4 chunks +4 lines, -4 lines 0 comments Download
M test/CodeGen/X86/invalid-gcc-snan-conversion.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/NaCl/ARM/GOT-with-disabled-constpools.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/NaCl/ARM/blx-sandboxing.ll View 1 chunk +3 lines, -3 lines 0 comments Download
M test/NaCl/ARM/bx-sandboxing.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/NaCl/ARM/call-return-sandboxing1.ll View 3 chunks +7 lines, -7 lines 0 comments Download
M test/NaCl/ARM/neon-vld1-sandboxing.ll View 8 chunks +17 lines, -17 lines 0 comments Download
M test/NaCl/ARM/neon-vld2-sandboxing.ll View 6 chunks +12 lines, -12 lines 0 comments Download
M test/NaCl/ARM/neon-vld3-sandboxing.ll View 5 chunks +11 lines, -11 lines 0 comments Download
M test/NaCl/ARM/neon-vld4-sandboxing.ll View 5 chunks +12 lines, -12 lines 0 comments Download
M test/NaCl/ARM/neon-vlddup-sandboxing.ll View 7 chunks +16 lines, -16 lines 0 comments Download
M test/NaCl/ARM/neon-vldlane-sandboxing.ll View 7 chunks +48 lines, -48 lines 0 comments Download
M test/NaCl/ARM/neon-vst1-sandboxing.ll View 1 chunk +46 lines, -46 lines 0 comments Download
M test/NaCl/ARM/neon-vst2-sandboxing.ll View 1 chunk +38 lines, -38 lines 0 comments Download
M test/NaCl/ARM/neon-vst3-sandboxing.ll View 1 chunk +16 lines, -16 lines 0 comments Download
M test/NaCl/ARM/neon-vst4-sandboxing.ll View 1 chunk +16 lines, -16 lines 0 comments Download
M test/NaCl/ARM/neon-vstlane-sandboxing.ll View 2 chunks +71 lines, -71 lines 0 comments Download
M test/NaCl/ARM/simple-load-store_sandboxing1.ll View 1 chunk +5 lines, -5 lines 0 comments Download
M test/NaCl/ARM/sp-arithmetic-sandboxing1.ll View 1 chunk +8 lines, -8 lines 0 comments Download
M test/NaCl/ARM/stack-change-sandboxing.ll View 2 chunks +7 lines, -7 lines 0 comments Download
M test/NaCl/ARM/vstr-sandboxing1.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/NaCl/Bitcode/bccompress.ll View 6 chunks +12 lines, -12 lines 0 comments Download
M test/NaCl/Bitcode/bcdist.ll View 3 chunks +6 lines, -6 lines 0 comments Download
M test/NaCl/Bitcode/bitcast-elide.ll View 5 chunks +20 lines, -20 lines 0 comments Download
M test/NaCl/Bitcode/dump.ll View 1 chunk +2 lines, -2 lines 0 comments Download
M test/NaCl/Bitcode/forward-ref-pointer-intrinsic.ll View 2 chunks +2 lines, -2 lines 0 comments Download
M test/NaCl/Bitcode/implicit-datalayout.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/NaCl/Bitcode/inttoptr-elide.ll View 4 chunks +18 lines, -18 lines 0 comments Download
M test/NaCl/Bitcode/inttoptr-of-ptrtoint-elide.ll View 1 chunk +2 lines, -2 lines 0 comments Download
M test/NaCl/Bitcode/no-structs.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/NaCl/Bitcode/pnacl-bcdis/load.ll View 3 chunks +26 lines, -26 lines 0 comments Download
M test/NaCl/Bitcode/ptrtoint-elide.ll View 6 chunks +12 lines, -12 lines 0 comments Download
M test/NaCl/Bitcode/unsupported.ll View 3 chunks +3 lines, -3 lines 0 comments Download
M test/NaCl/Bitcode/vector.ll View 1 chunk +4 lines, -4 lines 0 comments Download
M test/NaCl/PNaClABI/abi-alignment.ll View 3 chunks +10 lines, -10 lines 0 comments Download
M test/NaCl/PNaClABI/abi-debug-info.ll View 3 chunks +10 lines, -7 lines 0 comments Download
M test/NaCl/PNaClABI/abi-i1-operations.ll View 1 chunk +4 lines, -4 lines 0 comments Download
M test/NaCl/PNaClABI/abi-metadata.ll View 2 chunks +3 lines, -3 lines 0 comments Download
M test/NaCl/PNaClABI/abi-stripped-pointers.ll View 1 chunk +4 lines, -4 lines 0 comments Download
M test/NaCl/PNaClABI/abi-varargs.ll View 1 chunk +2 lines, -2 lines 0 comments Download
M test/NaCl/PNaClABI/instructions.ll View 6 chunks +21 lines, -21 lines 0 comments Download
M test/NaCl/PNaClABI/intrinsics.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/NaCl/PNaClABI/types-function.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/NaCl/X86/asm_memory.ll View 1 chunk +1 line, -1 line 0 comments Download
A test/NaCl/X86/dynamic-stack-alloc2.ll View 1 chunk +23 lines, -0 lines 0 comments Download
M test/NaCl/X86/llc-malign-double.ll View 4 chunks +4 lines, -4 lines 0 comments Download
M test/NaCl/X86/nacl-calls.ll View 2 chunks +2 lines, -2 lines 0 comments Download
M test/NaCl/X86/nacl-read-tp-intrinsic.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/NaCl/X86/nacl64-addrmodes.ll View 3 chunks +28 lines, -28 lines 0 comments Download
M test/NaCl/X86/no-global-in-disp-x86-64.ll View 1 chunk +6 lines, -6 lines 0 comments Download
M test/NaCl/X86/pic-nacl-x8632.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/NaCl/X86/pnacl-avoids-r11-x86-64.ll View 7 chunks +8 lines, -12 lines 0 comments Download
M test/NaCl/X86/pnacl-hides-sandbox-x86-64.ll View 5 chunks +11 lines, -11 lines 0 comments Download
M test/NaCl/X86/ro-jumptable.ll View 1 chunk +3 lines, -2 lines 0 comments Download
M test/Transforms/MinSFI/allocate-data-segment.ll View 2 chunks +14 lines, -14 lines 0 comments Download
M test/Transforms/MinSFI/expand-allocas.ll View 14 chunks +24 lines, -23 lines 0 comments Download
M test/Transforms/MinSFI/expand-allocas-globalvar-exists.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/Transforms/MinSFI/sandbox-indirect-calls.ll View 3 chunks +21 lines, -19 lines 0 comments Download
M test/Transforms/MinSFI/sandbox-memory-accesses.ll View 23 chunks +52 lines, -50 lines 0 comments Download
M test/Transforms/MinSFI/sandbox-memory-accesses-gep.ll View 3 chunks +12 lines, -12 lines 0 comments Download
M test/Transforms/NaCl/atomic/atomic-seq-cst-only.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/Transforms/NaCl/atomic/atomic_others.ll View 3 chunks +3 lines, -3 lines 0 comments Download
M test/Transforms/NaCl/atomic/atomic_seq_cst.ll View 7 chunks +6 lines, -78 lines 0 comments Download
M test/Transforms/NaCl/atomic/volatile.ll View 10 chunks +10 lines, -10 lines 0 comments Download
M test/Transforms/NaCl/constant-insert-extract-element-index.ll View 7 chunks +28 lines, -28 lines 0 comments Download
M test/Transforms/NaCl/constant-vector-rematerialization.ll View 4 chunks +4 lines, -4 lines 0 comments Download
M test/Transforms/NaCl/expand-ctors.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/Transforms/NaCl/expand-getelementptr.ll View 9 chunks +9 lines, -9 lines 0 comments Download
M test/Transforms/NaCl/expand-integers.ll View 22 chunks +70 lines, -70 lines 0 comments Download
M test/Transforms/NaCl/expand-small-arguments.ll View 1 chunk +4 lines, -4 lines 0 comments Download
M test/Transforms/NaCl/expand-struct-regs.ll View 8 chunks +42 lines, -42 lines 0 comments Download
M test/Transforms/NaCl/expand-tls.ll View 3 chunks +4 lines, -4 lines 0 comments Download
M test/Transforms/NaCl/expand-tls-bss.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/Transforms/NaCl/expand-tls-constexpr.ll View 3 chunks +10 lines, -10 lines 0 comments Download
M test/Transforms/NaCl/expand-tls-constexpr-alias.ll View 2 chunks +4 lines, -4 lines 0 comments Download
M test/Transforms/NaCl/expand-tls-constexpr2.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/Transforms/NaCl/expand-tls-phi.ll View 2 chunks +3 lines, -3 lines 0 comments Download
M test/Transforms/NaCl/expand-varargs.ll View 9 chunks +41 lines, -41 lines 0 comments Download
M test/Transforms/NaCl/expand-varargs-attrs.ll View 6 chunks +6 lines, -6 lines 0 comments Download
M test/Transforms/NaCl/expand-varargs-emscripten.ll View 1 chunk +8 lines, -8 lines 0 comments Download
M test/Transforms/NaCl/expand-varargs-struct.ll View 1 chunk +2 lines, -2 lines 0 comments Download
M test/Transforms/NaCl/fix-vector-load-store-alignment.ll View 5 chunks +141 lines, -141 lines 0 comments Download
M test/Transforms/NaCl/flatten-globals.ll View 2 chunks +6 lines, -4 lines 0 comments Download
M test/Transforms/NaCl/globalcleanup.ll View 1 chunk +4 lines, -4 lines 0 comments Download
M test/Transforms/NaCl/globalize-constant-vectors.ll View 11 chunks +20 lines, -20 lines 0 comments Download
M test/Transforms/NaCl/internalize-used-globals.ll View 1 chunk +1 line, -1 line 2 comments Download
M test/Transforms/NaCl/life.ll View 1 chunk +3 lines, -3 lines 0 comments Download
M test/Transforms/NaCl/normalize-alignment.ll View 2 chunks +26 lines, -26 lines 0 comments Download
M test/Transforms/NaCl/pnacl-abi-simplify-postopt.ll View 1 chunk +2 lines, -2 lines 0 comments Download
M test/Transforms/NaCl/pnacl-eh-exception-info.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/Transforms/NaCl/pnacl-sjlj-eh.ll View 3 chunks +7 lines, -7 lines 0 comments Download
M test/Transforms/NaCl/pnacl-sjlj-eh-bug.ll View 2 chunks +2 lines, -2 lines 0 comments Download
M test/Transforms/NaCl/promote-i1-ops.ll View 2 chunks +4 lines, -4 lines 0 comments Download
M test/Transforms/NaCl/promote-integers.ll View 8 chunks +31 lines, -31 lines 0 comments Download
M test/Transforms/NaCl/remove-asm-memory.ll View 2 chunks +10 lines, -10 lines 0 comments Download
M test/Transforms/NaCl/replace-ptrs-with-ints.ll View 11 chunks +61 lines, -57 lines 2 comments Download
M test/Transforms/NaCl/resolve-pnacl-intrinsics.ll View 5 chunks +5 lines, -5 lines 0 comments Download
M test/Transforms/NaCl/rewrite-prefetch.ll View 1 chunk +6 lines, -6 lines 0 comments Download
M test/Transforms/NaCl/simplify-allocas.ll View 1 chunk +32 lines, -0 lines 0 comments Download
M test/Transforms/NaCl/simplify-struct-reg-signatures.ll View 8 chunks +26 lines, -26 lines 0 comments Download
M test/Transforms/NaCl/strip-branchweight-metadata.ll View 1 chunk +1 line, -1 line 0 comments Download
M test/Transforms/NaCl/strip-meta-leaves-debug.ll View 2 chunks +32 lines, -24 lines 0 comments Download
M test/Transforms/NaCl/strip-tbaa-metadata.ll View 2 chunks +7 lines, -7 lines 0 comments Download
M tools/pnacl-abicheck/pnacl-abicheck.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M tools/pnacl-freeze/pnacl-freeze.cpp View 2 chunks +5 lines, -8 lines 2 comments Download
M tools/pnacl-llc/CMakeLists.txt View 1 chunk +1 line, -0 lines 0 comments Download
M tools/pnacl-llc/LLVMBuild.txt View 1 chunk +1 line, -1 line 0 comments Download
M tools/pnacl-llc/ThreadedFunctionQueue.h View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/pnacl-llc/ThreadedStreamingCache.h View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/pnacl-llc/pnacl-llc.cpp View 13 chunks +68 lines, -68 lines 0 comments Download
M unittests/Bitcode/NaClBitReaderTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 3 (1 generated)
jvoung (off chromium)
Otherwise LGTM (yay!) https://codereview.chromium.org/1151093004/diff/1/include/llvm/Bitcode/NaCl/NaClBitcodeDist.h File include/llvm/Bitcode/NaCl/NaClBitcodeDist.h (right): https://codereview.chromium.org/1151093004/diff/1/include/llvm/Bitcode/NaCl/NaClBitcodeDist.h#newcode363 include/llvm/Bitcode/NaCl/NaClBitcodeDist.h:363: = delete; nit: might be able ...
5 years, 7 months ago (2015-05-26 20:39:46 UTC) #2
Derek Schuff
5 years, 7 months ago (2015-05-26 22:01:33 UTC) #3
https://codereview.chromium.org/1151093004/diff/1/include/llvm/Bitcode/NaCl/N...
File include/llvm/Bitcode/NaCl/NaClBitcodeDist.h (right):

https://codereview.chromium.org/1151093004/diff/1/include/llvm/Bitcode/NaCl/N...
include/llvm/Bitcode/NaCl/NaClBitcodeDist.h:363: = delete;
On 2015/05/26 20:39:45, jvoung wrote:
> nit: might be able to fit the = delete on the same line now

Done.

https://codereview.chromium.org/1151093004/diff/1/lib/Bitcode/NaCl/Reader/NaC...
File lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp (right):

https://codereview.chromium.org/1151093004/diff/1/lib/Bitcode/NaCl/Reader/NaC...
lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp:1834: // MERGETODO(dschuff): does
this need to contain anything for TypeFinder?
On 2015/05/26 20:39:45, jvoung wrote:
> can this TODO be removed now -- replace with comment about PNaCl restrictions?

Done.

https://codereview.chromium.org/1151093004/diff/1/lib/Target/JSBackend/JSBack...
File lib/Target/JSBackend/JSBackend.cpp (right):

https://codereview.chromium.org/1151093004/diff/1/lib/Target/JSBackend/JSBack...
lib/Target/JSBackend/JSBackend.cpp:157: const DataLayout *DL;
On 2015/05/26 20:39:45, jvoung wrote:
> Upstream whitespace change, or leave the space alone and keep lined up?

Done.

https://codereview.chromium.org/1151093004/diff/1/lib/Target/JSBackend/JSTarg...
File lib/Target/JSBackend/JSTargetTransformInfo.cpp (right):

https://codereview.chromium.org/1151093004/diff/1/lib/Target/JSBackend/JSTarg...
lib/Target/JSBackend/JSTargetTransformInfo.cpp:1: //===--
JSTargetTransformInfo.cpp - JS specific TTI  ------------*- C++ -*-===//
On 2015/05/26 20:39:45, jvoung wrote:
> don't need the *- C++ -* in a .cpp file (just .h)

Done.

https://codereview.chromium.org/1151093004/diff/1/lib/Transforms/NaCl/Constan...
File lib/Transforms/NaCl/ConstantInsertExtractElementIndex.cpp (right):

https://codereview.chromium.org/1151093004/diff/1/lib/Transforms/NaCl/Constan...
lib/Transforms/NaCl/ConstantInsertExtractElementIndex.cpp:161: DL =
&BB.getParent()->getParent()->getDataLayout();
On 2015/05/26 20:39:45, jvoung wrote:
> nit: Could be BB.getModule()->getDataLayout();

Done.

https://codereview.chromium.org/1151093004/diff/1/lib/Transforms/NaCl/FixVect...
File lib/Transforms/NaCl/FixVectorLoadStoreAlignment.cpp (right):

https://codereview.chromium.org/1151093004/diff/1/lib/Transforms/NaCl/FixVect...
lib/Transforms/NaCl/FixVectorLoadStoreAlignment.cpp:251: DL =
&BB.getParent()->getParent()->getDataLayout();
On 2015/05/26 20:39:45, jvoung wrote:
> could be getModule()

Done.

https://codereview.chromium.org/1151093004/diff/1/lib/Transforms/NaCl/NoExitR...
File lib/Transforms/NaCl/NoExitRuntime.cpp (right):

https://codereview.chromium.org/1151093004/diff/1/lib/Transforms/NaCl/NoExitR...
lib/Transforms/NaCl/NoExitRuntime.cpp:1: //===- NoExitRuntime.cpp - Expand i64
and wider integer types -------------===//
On 2015/05/26 20:39:45, jvoung wrote:
> comment seems to be copy-pasted, but I guess that's from emscripten?

It is from emscripten, we should fix upstream

https://codereview.chromium.org/1151093004/diff/1/lib/Transforms/NaCl/Replace...
File lib/Transforms/NaCl/ReplacePtrsWithInts.cpp (left):

https://codereview.chromium.org/1151093004/diff/1/lib/Transforms/NaCl/Replace...
lib/Transforms/NaCl/ReplacePtrsWithInts.cpp:594: // Now that all the replacement
instructions have been created, we
On 2015/05/26 20:39:45, jvoung wrote:
> this is automatic now?

RAUW seems to work on MetadataAsValue. We could maybe even get debug.value to
work now, but I'm not sure it's worth the effort.

https://codereview.chromium.org/1151093004/diff/1/test/Transforms/NaCl/intern...
File test/Transforms/NaCl/internalize-used-globals.ll (right):

https://codereview.chromium.org/1151093004/diff/1/test/Transforms/NaCl/intern...
test/Transforms/NaCl/internalize-used-globals.ll:32: !llvm.ident = !{!0}
On 2015/05/26 20:39:45, jvoung wrote:
> can this just be removed?

Done.

https://codereview.chromium.org/1151093004/diff/1/test/Transforms/NaCl/replac...
File test/Transforms/NaCl/replace-ptrs-with-ints.ll (left):

https://codereview.chromium.org/1151093004/diff/1/test/Transforms/NaCl/replac...
test/Transforms/NaCl/replace-ptrs-with-ints.ll:638: !4 = metadata !{metadata
!"0x2e\00nop\00nop\00\001\000\001\000\000\00256\001\001", metadata !1, metadata
!5, metadata !6, null, void (i8*)* @nop, null, null, metadata !9} ; [
DW_TAG_subprogram ] [line 1] [def] [nop]
On 2015/05/26 20:39:45, jvoung wrote:
> If the test is now checking that "void (i32)* @debug_declare" shows up in the
> metadata instead of nop (and instead of null, if that replaceFunction() call
is
> omitted), then you might be able to remove the @nop function test case, since
it
> isn't being checked in the subprograms anyway.

Done.

https://codereview.chromium.org/1151093004/diff/1/tools/pnacl-freeze/pnacl-fr...
File tools/pnacl-freeze/pnacl-freeze.cpp (right):

https://codereview.chromium.org/1151093004/diff/1/tools/pnacl-freeze/pnacl-fr...
tools/pnacl-freeze/pnacl-freeze.cpp:82: if (!M.get()) {
On 2015/05/26 20:39:45, jvoung wrote:
> could be the else { } from if (streamer), since it's checking the ErrorMessage
> from getDataFileStreamer which is correlated with streamer. Otherwise, at this
> point MOrErr is assumed to not be an Err because it's deref'ed as part of line
> 78?

Done.

Powered by Google App Engine
This is Rietveld 408576698