1. Revert "Dead Virtual Function Elimination" (details)
  2. fix (details)
  3. [lit] Add argument check: --timeout must be non-negative integer (details)
  4. [X86] Add encoding tests for avx512pf vgatherpf/vscatterpf instructions. (details)
  5. [X86] Teach X86MCodeEmitter to properly encode zmm16-zmm31 as index (details)
  6. [MemorySSA] Update for partial unswitch. (details)
  7. Revert [InstCombine] fold a shifted bool zext to a select (details)
  8. Revert "fix" (details)
  9. [lldb-server/android] Show more processes by relaxing some checks (details)
  10. [libc++][test] Use <version> to get config on MSVC (details)
  11. [WebAssembly] Trapping fptoint builtins and intrinsics (details)
  12. [RISCV] Support fast calling convention (details)
Commit b052331bd614ff2d06bbb3e5af15e899e3f7e52f by jgorbe
Revert "Dead Virtual Function Elimination"
This reverts commit 9f6a873268e1ad9855873d9d8007086c0d01cf4f.
llvm-svn: 374844
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions-base-pointer-call.ll
The file was modifiedclang/lib/CodeGen/CGVTables.cpp
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedllvm/lib/Analysis/TypeMetadataUtils.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/include/llvm/IR/FixedMetadataKinds.def
The file was modifiedllvm/include/llvm/Transforms/IPO/GlobalDCE.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was removedclang/test/Driver/virtual-function-elimination.cpp
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions-derived-call.ll
The file was modifiedllvm/test/ThinLTO/X86/lazyload_metadata.ll
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions-visibility-post-lto.ll
The file was removedclang/test/CodeGenCXX/virtual-function-elimination.cpp
The file was modifiedclang/include/clang/Driver/
The file was modifiedllvm/docs/TypeMetadata.rst
The file was removedclang/test/CodeGenCXX/vcall-visibility-metadata.cpp
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions-visibility-pre-lto.ll
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions-base-call.ll
The file was modifiedllvm/include/llvm/Analysis/TypeMetadataUtils.h
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions.ll
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was removedllvm/test/Transforms/Internalize/vcall-visibility.ll
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions-derived-pointer-call.ll
The file was removedllvm/test/Transforms/GlobalDCE/vtable-rtti.ll
The file was modifiedclang/lib/CodeGen/CGClass.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalDCE.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/IR/Metadata.cpp
The file was removedllvm/test/LTO/ARM/lto-linking-metadata.ll
The file was modifiedllvm/include/llvm/IR/GlobalObject.h
Commit ed57fb7665e5d42d516b6705c51700e4292cb977 by a20012251
llvm-svn: 374846
The file was modifiedlldb/source/Host/linux/Host.cpp
Commit 98aa3c1de985ad42e999bae0264979d293274a91 by jlettner
[lit] Add argument check: --timeout must be non-negative integer
llvm-svn: 374847
The file was modifiedllvm/utils/lit/lit/
Commit 5e80715508d1b819f99f574c869805e5e3aecb11 by craig.topper
[X86] Add encoding tests for avx512pf vgatherpf/vscatterpf instructions.
llvm-svn: 374848
The file was addedllvm/test/MC/X86/x86-64-avx512pf.s
Commit 9586d85ab3badcf8ca2292ca6019caea4e6513c4 by craig.topper
[X86] Teach X86MCodeEmitter to properly encode zmm16-zmm31 as index
register to vgatherpf/vscatterpf.
We need to encode bit 4 into the EVEX.V' bit. We do this right for
regular gather/scatter which use either MRMSrcMem or MRMDestMem formats.
The prefetches use MRM*m formats.
Fixes an issue recently added to PR36202.
llvm-svn: 374849
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
The file was modifiedllvm/test/MC/X86/x86-64-avx512pf.s
Commit b7a3353061e965f901ba5cfac366263d6d528f35 by asbirlea
[MemorySSA] Update for partial unswitch.
Update MSSA for blocks cloned when doing partial unswitching. Enable
additional testing with MSSA. Resolves PR43641.
llvm-svn: 374850
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-redundant-switch.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch.ll
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was addedllvm/test/Analysis/MemorySSA/pr43641.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested2.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch2.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/delete-dead-blocks.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/exponential-switch-unswitch.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-cost.ll
Commit 4335d8f0e8349025530da72a6881ed53c61947a2 by spatel
Revert [InstCombine] fold a shifted bool zext to a select
This reverts r374828 (git commit
1f40f15d54aac06421448b6de131231d2d78bc75) due to bot breakage
llvm-svn: 374851
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/shift.ll
Commit 1473b9f2052e99d79f52ad23f837561a55803702 by a20012251
Revert "fix"
This reverts commit d8af64c9a0228301f6fd0e1c841e4abe0b6f4801.
llvm-svn: 374852
The file was modifiedlldb/source/Host/linux/Host.cpp
Commit d04855f820c5f21c2ae95e711bf003af575e58e3 by a20012251
[lldb-server/android] Show more processes by relaxing some checks
By default `platform process list` only shows the processes of the
current user that lldb-server can parse. There are several problems:
- apk programs don't have an executable file. They instead use a package
name as identifier. We should show them instead.
- each apk also runs under a different user. That's how android works
- because of the user permission, some files like
/proc/<pid>/{environ,exe} can't be read.
This results in a very small process list.
This is a local run on my machine
(lldb) platform process list 2 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 23291  3177            
aarch64-unknown-linux-android sh 23301  23291          
aarch64-unknown-linux-android lldb-server
``` However, I have 700 processes running at this time.
By implementing a few fallbacks for android, I've expanded this list to
202, filtering out kernel processes, which would presumably appear in
this list if the device was rooted.
(lldb) platform process list 202 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
... 12647  3208              aarch64-unknown-linux-android sh 12649
12647             aarch64-unknown-linux-android lldb-server 12653  982 
                            13185  982
                             15899  982       
                      16220  982     
                                 com.sec.spp.push 17126  982           
                           com.sec.spp.push:RemoteDlcProcess 19772  983
                             20209  982    
                         20380  982       
20879  982                              21212  983                     
        24459  1               
aarch64-unknown-linux-android wpa_supplicant 25974  982                
             26293  982          
                   28714  982   
                          31605  982
                             32256  982                          
Something to notice is that the architecture is unkonwn for all apks.
And that's fine, because run-as would be required to gather this
information and that would make this entire functionality massively
There are still several improvements to make here, like displaying
actual user names, which I'll try to do in a following diff.
Note: Regarding overall apk debugging support from lldb. I'm planning on
having lldb spawn lldb-server by itself with the correct user, so that
everything works well. The initial lldb-server used for connecting to
the remote platform can be reused for such purpose. Furthermore,
eventually lldb could also launch that initial lldb-server on its own.
Differential Revision: D68289
llvm-svn: 374853
The file was modifiedlldb/source/Host/linux/Host.cpp
Commit 6f0768f64da398d5103d39e83bdc66a5ffd6f0f6 by Casey
[libc++][test] Use <version> to get config on MSVC
...instead of `<ciso646>`.
Also includes some NFC comment changes.
llvm-svn: 374854
The file was modifiedlibcxx/test/support/msvc_stdlib_force_include.h
The file was modifiedlibcxx/test/support/test_macros.h
The file was modifiedlibcxx/test/support/test_workarounds.h
Commit 232fd99d9ee6d852b44d1cf5f491b00e4241d7ea by tlively
[WebAssembly] Trapping fptoint builtins and intrinsics
Summary: The WebAssembly backend lowers fptoint instructions to a code
sequence that checks for overflow to avoid traps because fptoint is
supposed to be speculatable. These new builtins and intrinsics give
users a way to depend on the trapping semantics of the underlying
instructions and avoid the extra code generated normally.
Patch by coffee and tlively.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish,
cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision:
llvm-svn: 374856
The file was modifiedclang/include/clang/Basic/BuiltinsWebAssembly.def
The file was modifiedllvm/lib/Target/WebAssembly/
The file was modifiedllvm/test/CodeGen/WebAssembly/conv-trap.ll
The file was modifiedclang/test/CodeGen/builtins-wasm.c
The file was modifiedllvm/include/llvm/IR/
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit 078bec6c48dd9d17ab9720897d2bb7ccbb886763 by shiva0217
[RISCV] Support fast calling convention
LLVM may annotate the function with fastcc if there has only one caller
and there're no other caller out of the module and the function is not
naked or contain variable arguments.
The fastcc functions could pass the arguments by the caller saved
Differential Revision:
llvm-svn: 374857
The file was addedllvm/test/CodeGen/RISCV/fastcc-float.ll
The file was addedllvm/test/CodeGen/RISCV/fastcc-int.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp