FailedChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. Emit diagnostic if an inline asm constraint requires an immediate (details)
  2. [lit] Actually run tests for internal env command (details)
  3. [lit] Print internal env commands (details)
  4. [Thumb] Fix invalid symbol redefinition due to duplicated jumptable (details)
  5. Finish moving TargetRegisterInfo::isVirtualRegister() and friends to (details)
  6. IR: print value numbers for unnamed function arguments (details)
  7. Speculative Compilation (details)
Commit 41a2847a9ae50a9cc52f754d52692357d0e28bbf by isanbard
Emit diagnostic if an inline asm constraint requires an immediate
Summary: An inline asm call can result in an immediate after inlining.
Therefore emit a diagnostic here if constraint requires an immediate but
one isn't supplied.
Reviewers: joerg, mgorny, efriedma, rsmith
Reviewed By: joerg
Subscribers: asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD,
zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX,
jocewei, s.egerton, MaskRay, jyknight, dylanmckay, javed.absar,
fedor.sergeev, jrtc27, Jim, krytarowski, eraman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60942
llvm-svn: 367750
The file was modifiedllvm/test/CodeGen/RISCV/inline-asm-invalid.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm-error-L.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm-error-J.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm-error-K.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm-error-N.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was addedllvm/test/CodeGen/X86/inline-asm-imm-out-of-range.ll
The file was addedllvm/test/CodeGen/X86/inline-asm-e-constraint.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm-error-I.ll
The file was modifiedllvm/lib/Target/AVR/AVRISelLowering.cpp
The file was addedllvm/test/CodeGen/X86/inline-asm-n-constraint.ll
The file was modifiedllvm/test/CodeGen/X86/inline-asm-bad-constraint-n.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm-error-M.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 2c5a60f1dcaef09ef9c01438fe1d3d7468637af4 by jdenny.ornl
[lit] Actually run tests for internal env command
Put the main test script in the right directory, and fix a python bug in
a local script.
Reviewed By: stella.stamenova
Differential Revision: https://reviews.llvm.org/D65623
llvm-svn: 367751
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-env/print_environment.py
The file was removedllvm/utils/lit/tests/Inputs/shtest-env/shtest-env.py
The file was addedllvm/utils/lit/tests/shtest-env.py
Commit a67d81e4e2fe17e4388599197cd2d8fc0213b52b by jdenny.ornl
[lit] Print internal env commands
Without this patch, the internal `env` command removes `env` and its
args from the command line while parsing it.  This patch modifies a copy
instead so that the original command line is printed.
Reviewed By: stella.stamenova, rnk
Differential Revision: https://reviews.llvm.org/D65624
llvm-svn: 367752
The file was modifiedllvm/utils/lit/tests/shtest-env.py
The file was modifiedllvm/utils/lit/lit/TestRunner.py
Commit 4f8259bdbc591cb55e70e3424254d28c00ed4a9d by nikita.ppv
[Thumb] Fix invalid symbol redefinition due to duplicated jumptable
(PR42760)
Fix for https://bugs.llvm.org/show_bug.cgi?id=42760. A tBR_JTr
instruction is duplicated by tail duplication, which results in the same
jumptable with the same label being emitted twice.
Fix this by marking tBR_JTr as not duplicable. The corresponding
ARM/Thumb instructions are already marked as not duplicable.
Additionally also mark tTBB_JT and tTBH_JT to be consistent with Thumb2,
even though this shouldn't be strictly necessary.
Differential Revision: https://reviews.llvm.org/D65606
llvm-svn: 367753
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb.td
The file was addedllvm/test/CodeGen/Thumb/pr42760.ll
Commit 6bf861298a117f82f453021bc355a1fe38ca818b by sylvestre
Finish moving TargetRegisterInfo::isVirtualRegister() and friends to
llvm::Register as started by r367614. NFC
llvm-svn: 367754
The file was modifiedllvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
Commit a009a60a917bc30940422bcef73f8270566d78db by Tim Northover
IR: print value numbers for unnamed function arguments
For consistency with normal instructions and clarity when reading IR,
it's best to print the %0, %1, ... names of function arguments in
definitions.
Also modifies the parser to accept IR in that form for obvious reasons.
llvm-svn: 367755
The file was modifiedclang/test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-diff-ns.cpp
The file was modifiedclang/test/OpenMP/taskloop_firstprivate_codegen.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll
The file was modifiedclang/test/CodeGenCoroutines/coro-await.cpp
The file was modifiedclang/test/CodeGen/arm-swiftcall.c
The file was modifiedclang/test/OpenMP/function-attr.cpp
The file was modifiedllvm/test/Bitcode/attributes.ll
The file was modifiedclang/test/OpenMP/sections_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_enter_data_depend_codegen.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/dereferenceable.ll
The file was modifiedclang/test/CodeGenCXX/pod-member-memcpys.cpp
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/test/LTO/Resolution/X86/comdat.ll
The file was modifiedclang/test/CodeGenCUDA/usual-deallocators.cu
The file was modifiedclang/test/OpenMP/target_update_depend_codegen.cpp
The file was modifiedclang/test/CodeGen/attr-target-mv.c
The file was modifiedllvm/test/Transforms/FunctionAttrs/naked_functions.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nosync.ll
The file was modifiedclang/test/CXX/except/except.spec/p14-ir.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-this-adjustment.cpp
The file was modifiedclang/test/CodeGenObjCXX/implicit-copy-constructor.mm
The file was modifiedllvm/test/Assembler/incorrect-tdep-attrs-parsing.ll
The file was modifiedclang/test/CodeGen/long_double_fp128.cpp
The file was modifiedllvm/test/Transforms/LICM/hoisting.ll
The file was modifiedclang/test/CodeGen/riscv32-ilp32f-ilp32d-abi.c
The file was modifiedclang/test/CodeGenObjC/strong-in-c-struct.m
The file was modifiedclang/test/CodeGen/ppc64-qpx-vector.c
The file was modifiedclang/test/CodeGenCXX/dllimport-runtime-fns.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/windows-swiftcall.c
The file was modifiedclang/test/CodeGen/x86_32-arguments-linux.c
The file was modifiedllvm/test/Transforms/GlobalOpt/naked_functions.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/debug-nonzero-labels.ll
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen.cpp
The file was modifiedclang/test/CodeGen/riscv32-ilp32-ilp32f-ilp32d-abi.c
The file was modifiedclang/test/CodeGenObjC/debug-info-blocks.m
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/memset.ll
The file was modifiedclang/test/CodeGen/riscv64-lp64-abi.c
The file was modifiedclang/test/CodeGenObjCXX/property-object-reference-2.mm
The file was modifiedllvm/test/Assembler/call-nonzero-program-addrspace-2.ll
The file was modifiedclang/test/CodeGenCXX/dllexport.cpp
The file was modifiedclang/test/CodeGenOpenCL/cl20-device-side-enqueue.cl
The file was modifiedclang/test/CodeGen/arm-arguments.c
The file was modifiedclang/test/CodeGen/mingw-long-double.c
The file was modifiedclang/test/CodeGenObjC/weak-in-c-struct.m
The file was modifiedclang/test/OpenMP/task_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-arg-order.cpp
The file was modifiedllvm/test/CodeGen/X86/win32-eh-available-externally.ll
The file was modifiedclang/test/CodeGen/win64-i128.c
The file was modifiedclang/test/CodeGenObjCXX/arc-indirect.mm
The file was modifiedllvm/test/CodeGen/AMDGPU/rewrite-out-arguments.ll
The file was modifiedclang/test/CodeGen/vectorcall.c
The file was modifiedclang/test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl
The file was modifiedclang/test/CodeGenCXX/arm-swiftcall.cpp
The file was modifiedllvm/test/Assembler/block-labels.ll
The file was modifiedclang/test/CodeGenCXX/implicit-copy-constructor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/nounwind.ll
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-byval-vararg.cpp
The file was modifiedllvm/test/Transforms/Coroutines/coro-early.ll
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-out-of-line-defs.cpp
The file was modifiedclang/test/OpenMP/single_codegen.cpp
The file was modifiedclang/test/CodeGen/regcall.c
The file was modifiedclang/test/OpenMP/target_simd_depend_codegen.cpp
The file was modifiedllvm/test/Assembler/byval-type-attr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/rewrite-out-arguments-address-space.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
The file was modifiedclang/test/CodeGen/64bit-swiftcall.c
The file was modifiedclang/test/CodeGenCXX/copy-constructor-synthesis.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_private_codegen.cpp
The file was addedllvm/test/Assembler/invalid-arg-num-1.ll
The file was modifiedllvm/test/CodeGen/WinEH/wineh-comdat.ll
The file was modifiedclang/test/CodeGen/sanitize-thread-no-checking-at-run-time.m
The file was modifiedclang/test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm
The file was modifiedllvm/test/Feature/strip_names.ll
The file was modifiedclang/test/OpenMP/target_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_exit_data_depend_codegen.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/noalias_returned.ll
The file was modifiedclang/test/OpenMP/taskloop_simd_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-overloads.cpp
The file was modifiedclang/test/OpenMP/taskloop_private_codegen.cpp
The file was modifiedclang/test/CodeGen/cfi-check-fail.c
The file was modifiedclang/test/CodeGen/systemz-abi.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_depend_codegen.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-single-impl.ll
The file was modifiedclang/test/CodeGen/x86_32-arguments-realign.c
The file was modifiedclang/test/CodeGen/mips64-padding-arg.c
The file was modifiedclang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/openmp_offload_registration.cpp
The file was modifiedclang/test/OpenMP/target_codegen_registration.cpp
The file was modifiedllvm/test/Transforms/JumpThreading/thread-loads.ll
The file was modifiedclang/test/CodeGen/riscv64-lp64d-abi.c
The file was modifiedllvm/test/Transforms/ArgumentPromotion/naked_functions.ll
The file was modifiedclang/test/CodeGenCXX/x86_32-arguments.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_firstprivate_codegen.cpp
The file was modifiedllvm/test/Bitcode/attributes-3.3.ll
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_parallel_depend_codegen.cpp
The file was modifiedclang/test/CodeGen/cfi-check-fail2.c
The file was modifiedclang/test/CodeGen/x86_32-arguments-darwin.c
The file was modifiedclang/test/OpenMP/threadprivate_codegen.cpp
The file was modifiedclang/test/CodeGenObjC/arc-blocks.m
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
The file was modifiedclang/test/CodeGen/pch-dllexport.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-member-funcs.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/nofree-attributor.ll
The file was modifiedllvm/test/ThinLTO/X86/linkonce_resolution_comdat.ll
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen_registration.cpp
The file was modifiedclang/test/CodeGenObjCXX/arc-mangle.mm
The file was modifiedllvm/unittests/IR/AsmWriterTest.cpp
The file was modifiedclang/test/OpenMP/task_firstprivate_codegen.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/readnone.ll
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen_registration.cpp
The file was modifiedllvm/test/Transforms/ArgumentPromotion/X86/thiscall.ll
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-inalloca.cpp
The file was modifiedclang/test/CodeGenCXX/runtime-dllstorage.cpp
The file was modifiedclang/test/OpenMP/taskloop_reduction_codegen.cpp
The file was modifiedclang/test/CodeGen/mips-vector-arg.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-member-pointers.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_depend_codegen.cpp
The file was modifiedclang/test/CodeGen/riscv64-lp64-lp64f-abi.c
The file was modifiedclang/test/CodeGenCXX/dllexport-members.cpp
The file was modifiedclang/test/CodeGenCXX/mangle.cpp
The file was modifiedclang/test/CodeGen/systemz-abi-vector.c
The file was modifiedclang/test/CodeGenCXX/member-templates.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-byval-sret.cpp
The file was modifiedclang/test/CodeGen/ppc64-vector.c
The file was modifiedclang/test/CodeGen/riscv64-lp64f-lp64d-abi.c
The file was modifiedclang/test/OpenMP/declare_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/regcall.cpp
The file was modifiedclang/test/OpenMP/task_private_codegen.cpp
The file was addedllvm/test/Assembler/invalid-arg-num-3.ll
The file was modifiedclang/test/OpenMP/taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
The file was modifiedclang/test/CodeGenCXX/x86_64-arguments.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-params.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/CodeGen/pass-object-size.c
The file was addedllvm/utils/add_argument_names.py
The file was modifiedclang/test/CodeGenCXX/attr-cpuspecific.cpp
The file was modifiedllvm/test/Bitcode/avr-calling-conventions.ll
The file was modifiedclang/test/CodeGen/riscv32-ilp32d-abi.c
The file was modifiedclang/test/CodeGen/attr-naked.c
The file was modifiedllvm/test/Transforms/FunctionAttrs/willreturn.ll
The file was modifiedclang/test/CodeGenCXX/dllimport-members.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp
The file was modifiedllvm/test/Transforms/MergeFunc/comdat.ll
The file was addedllvm/test/Assembler/invalid-arg-num-2.ll
The file was modifiedclang/test/CodeGen/systemz-inline-asm.c
The file was modifiedclang/test/CodeGenCXX/cxx0x-delegating-ctors.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/taskgroup_task_reduction_codegen.cpp
The file was modifiedclang/test/CodeGen/arm64-arguments.c
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-byval-thunks.cpp
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/abilist.ll
The file was modifiedclang/test/OpenMP/taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen_registration.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/comdat-ipo.ll
The file was modifiedclang/test/CodeGen/ppc64-align-struct.c
The file was modifiedclang/test/CodeGenCXX/virtual-bases.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_depend_codegen.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/branch-funnel.ll
The file was modifiedclang/test/CodeGenCXX/static-destructor.cpp
The file was modifiedclang/test/CodeGenCXX/exceptions.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-gro-nrvo.cpp
The file was modifiedclang/test/CodeGen/blocks.c
The file was modifiedclang/test/CodeGen/attr-target-mv-va-args.c
The file was modifiedclang/test/OpenMP/declare_reduction_codegen.c
The file was modifiedllvm/test/Transforms/MergeFunc/weak-small.ll
The file was modifiedllvm/test/Transforms/MergeFunc/phi-check-blocks.ll
The file was modifiedclang/test/CodeGenCXX/noescape.cpp
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedllvm/test/Linker/comdat16.ll
The file was modifiedllvm/test/Bindings/llvm-c/debug_info.ll
The file was modifiedclang/test/CodeGen/attr-cpuspecific.c
Commit f5c40cb9002a7cbddec66dc4b440525ae1f14751 by praveenvelliengiri
Speculative Compilation
[ORC] Remove Speculator Variants for Different Program Representations
[ORC] Block Freq Analysis
Speculative Compilation with Naive Block Frequency
Add Applications to OrcSpeculation
ORC v2 with Block Freq Query & Example
Deleted BenchMark Programs
Signed-off-by: preejackie <praveenvelliengiri@gmail.com>
ORCv2 comments resolved
[ORCV2] NFC
ORCv2 NFC
[ORCv2] Speculative compilation - CFGWalkQuery
ORCv2 Adapting IRSpeculationLayer to new locking scheme
llvm-svn: 367756
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LazyReexports.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
The file was modifiedllvm/examples/CMakeLists.txt
The file was addedllvm/include/llvm/ExecutionEngine/Orc/SpeculateAnalyses.h
The file was addedllvm/include/llvm/ExecutionEngine/Orc/Speculation.h
The file was addedllvm/lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/CMakeLists.txt
The file was addedllvm/lib/ExecutionEngine/Orc/Speculation.cpp
The file was addedllvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
The file was addedllvm/examples/SpeculativeJIT/CMakeLists.txt
The file was modifiedllvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp