SuccessChanges

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

Summary

  1. [SVE] Add checks for no warnings in SVE tests (details)
  2. [CodeGen] Fix warnings in getVectorElementCount() (details)
  3. Revert "[SVE] Add checks for no warnings in SVE tests" (details)
  4. [ARM] Adjust AND/OR combines to not call isConstantSplat on i1 vectors. NFC. (details)
  5. [MLIR][Shape] Realize `shape` to `std` lowering with declarative patterns (details)
  6. [MLIR][Shape] Lower `size_to_index` and `index_to_size` with declarative rules (details)
  7. [CodeGen] Fix warnings in isPow2VectorType and getPow2VectorType (details)
  8. [mlir] [Vector] Add missing edsc intrinsics. (details)
  9. Correctly report modified status for HWAddressSanitizer (details)
  10. [CodeGen] Fix warnings in foldCONCAT_VECTORS (details)
  11. [Matrix] Update load/store intrinsics. (details)
  12. [CodeGen] Fix warnings in getVectorTypeBreakdown (details)
  13. [Matrix] Add volatile load/store tests (NFC). (details)
  14. [Clang][Sema] Use of incorrect __has_feature vs __has_builtin (details)
  15. [SveEmitter] Add builtins for tuple creation (svcreate2/svcreate3/etc) (details)
  16. [AVR] Implement disassembly of 32-bit instructions (details)
  17. [MLIR][Linalg] Retire C++ MatvecOp in favor of a linalg-ods-gen'd op (details)
  18. [mlir] Provide OpBuilder-based replacements for edsc::BlockBuilder (details)
  19. [Matrix] Add __builtin_matrix_column_load to Clang. (details)
  20. [NFC][LiveDebugValues] Document how LiveDebugValues operates (details)
  21. [mlir] NFC: Fix link in traits documentation (details)
  22. Try to remove the acle_sve_adda.s file that's breaking tests (details)
  23. [SveEmitter] Add builtins to insert/extract subvectors from tuples (svget/svset) (details)
  24. [Matrix] Add __builtin_matrix_column_store to Clang. (details)
  25. [Matrix] Preserve volatile when loading loads/stores. (details)
  26. [mlir] Add a pass to remove all shape.cstr_ and assuming_ ops. (details)
  27. Make matrix-type-builtins.m pass also on platforms where the type is 'unsigned long long' (details)
  28. [DA] conservatively mark the join of every divergent branch (details)
  29. [SVE] Add flag to specify SVE register size, using this to calculate legal vector types. (details)
  30. [ARM] Supporting lowering of half-precision FP arguments and returns in AArch32's backend (details)
  31. [ARM] Moving CMSE handling of half arguments and return to the backend (details)
  32. [ARM][Clang] Removing lowering of half-precision FP arguments and returns from Clang's CodeGen (details)
  33. [SVE] Add checks for no warnings in SVE tests (details)
  34. [Matrix] Use alignment info when lowering loads/stores. (details)
  35. [Matrix] Pass darwin tripe to SeamObjc test to fix windows bot failure. (details)
  36. [clang] Fix the serialization of LambdaExpr and the bogus mutation in LambdaExpr::getBody (details)
  37. [clang][utils] Modify make-ast-dump-check.sh to generate AST serialization dump tests (details)
  38. [HIP] Fix rocm not found on rocm3.5 (details)
  39. [Clang] Move clang::Job::printArg to llvm::sys::printArg. NFCI. (details)
  40. [CodeView] Add TypeCollection::replaceType to replace type records post-merging (details)
  41. [MC] Pass down argv0 & cc1 cmd-line to the back-end and store in MCTargetOptions (details)
  42. [CodeView] Add full repro to LF_BUILDINFO record (details)
  43. [MC] Rename a misnamed function. NFC. (details)
  44. [llvm][docs] Document the LLVM_INSTALL_UTILS CMake option (NFC) (details)
  45. [RISCV64] Emit correct lib call for fp(float/double) to ui/si (details)
  46. [libc++] Allow specifying custom Lit config files (details)
  47. [CodeView] Fix generated command-line expansion in LF_BUILDINFO. Fix the 'pdb' entry which was previously a null reference, now an empty string. (details)
  48. Fix linker error in clang-fuzzer following 89ea0b05207d45c145fb525df554b3b986ae379b. (details)
  49. [libcxx/variant] Fix build error for when exceptions disabled. (details)
  50. [libc++] Add equality for spaceship types for themselves (details)
  51. [X86][SSE] Fold MOVMSK(PCMPEQ(X,0)) == -1 -> PTESTZ(X,X) (details)
  52. Lanai: Remove unused method (details)
  53. [clang-tidy] RenamerClangTidy group redecls into 1 warning. (details)
  54. [AVR] Fix miscompilation of zext + add (details)
  55. AMDGPU: Don't pass MachineFunction if only the IR Function is used (details)
  56. [clang-tidy] Add --use-color command line option and UseColor option to control colors in diagnostics (details)
  57. Don't require shell in clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adda.c (details)
  58. fix a typo to cycle bots (details)
  59. [TargetLowering] SimplifyMultipleUseDemandedBits - drop already extended ISD::SIGN_EXTEND_INREG nodes. (details)
  60. unwind: EHABISectionIterator `operator!=`, constify `operator-` (details)
  61. [flang] Fix crash with alternate returns in modules (details)
  62. [OPENMP50]Codegen for scan directives in parallel for regions. (details)
  63. [docs] Clarify semantics of ordered fadd/fmul reductions. (details)
  64. [ARM] Basic bfloat support (details)
  65. [Dexter] Add --source-dir-root flag (details)
  66. [OPENMP50]Allow nonmonotonic modifier for all schedule kinds. (details)
  67. [NFC][IndVarSimplify] Test: replacing IV user with unsafe loop-invariant (PR45360) (details)
  68. [llvm][SveEmitter] Emit the bfloat version of `svld1ro`. (details)
  69. [GlobalOpt] Remove preallocated calls when possible (details)
Commit fb495c31701b2cd697cf4282f63764c9cefd49c0 by david.sherwood
[SVE] Add checks for no warnings in SVE tests

There are now quite a few SVE tests in LLVM and Clang that do not
emit warnings related to invalid use of EVT::getVectorNumElements()
and VectorType::getNumElements(). For these tests I have added
additional checks that there are no warnings in order to prevent
any future regressions.

Differential Revision: https://reviews.llvm.org/D80712
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_setffr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmad.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-sqdec.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrw.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecw.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_msb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-calling-convention.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bic.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qinch.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsic-opts-ptest.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_wrffr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nor.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_not.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-converts.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincd.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-vscale.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkn.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrh.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recps.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-div-pred.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-reduce.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1h.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-counting-bits.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-st1.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-select.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-gather-prefetches-vect-base-invalid-imm-offset.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmla.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-int-arith.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brka.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincp.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-ffr-manipulation.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asrd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-imm.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpa.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-pred-non-temporal-ldst-addressing-mode-reg-imm.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1w.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-uqinc.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tssel.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-pred-testing.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-log-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrts.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptest.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sqrt.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-int-compares-with-imm.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orn.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith-merging.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-pred-creation.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_neg.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-shifts-merging.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-reduce-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_subr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_compact.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-shifts.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecp.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nand.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfh.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-gather-prefetches-vect-base-imm-offset.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-counting-elems.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulx.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tmad.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinti.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-reg-addr-mode.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmla.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpx.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulh.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mov.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_min.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-conversion.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dot.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrte.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-bitcast.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmsb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revh.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_divr.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-dup-x.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-mad-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-alloca-stackid.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qadd.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scalar-to-vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-mul-pred.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-reg.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntp.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_exth.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-extract-element.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-logical.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clz.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-reversal.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsl.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnm.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eor.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-64bit-unscaled-offset.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintm.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_expa.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-int-compares.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qsub.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnot.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmls.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-vscale-combine.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tsmul.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_scale.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-sqinc.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_div.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-pred-log.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntd.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-pred-non-temporal-ldst-addressing-mode-reg-reg.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minv.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-adr.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mls.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extw.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-zeroinit.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_addv.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-vselect-imm.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-pred-operations.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-vector-base-imm-offset.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnmv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintz.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_andv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfalse.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-arith-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rdffr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abs.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mla.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-matmul-int8.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1b.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-int-arith-merging.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revw.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-index.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eorv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abd.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-fp.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adda.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnm.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cadd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-vector-base-scalar-offset.ll
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/README
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincw.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_and.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_add.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnth.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntw.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-compares.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintx.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnmv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintp.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-matmul-fp32.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfw.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinta.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsic-opts-reinterpret.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_max.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rbit.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintn.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-imm-addr-mode.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-insert-element.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mul.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdech.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-contiguous-prefetches.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-matmul-fp64.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-sel.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mad.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpe.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cls.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfirst.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-64bit-scaled-offset.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-uqdec.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sub.c
Commit 3ffb44b4481fe7bfaed67fe3e592908b9b4ad628 by david.sherwood
[CodeGen] Fix warnings in getVectorElementCount()

In EVT::getVectorElementCount() when the type is not simple we
should return getExtendedVectorElementCount() from the function
instead of constructing the ElementCount object manually.

I discovered this warning in an existing test:

  test/CodeGen/AArch64/sve-intrinsics-loads.ll

Differential Revision: https://reviews.llvm.org/D81927
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.h
Commit e3836fe1a5562875396705369353078ab07cf07a by david.sherwood
Revert "[SVE] Add checks for no warnings in SVE tests"

This reverts commit fb495c31701b2cd697cf4282f63764c9cefd49c0.

Was causing test failures and broke buildbot.
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulh.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nand.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrw.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincw.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-matmul-int8.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asrd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-fp.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_divr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_subr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnmv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_min.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nor.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tssel.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-pred-non-temporal-ldst-addressing-mode-reg-imm.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-gather-prefetches-vect-base-imm-offset.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-reg.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_and.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-contiguous-prefetches.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1w.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecw.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abs.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincd.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-arith-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mul.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpe.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnot.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mls.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dot.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnmv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bic.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brka.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsl.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-ffr-manipulation.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecd.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scalar-to-vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-index.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revh.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmla.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-st1.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_div.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cadd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mad.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-reg-addr-mode.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-pred-non-temporal-ldst-addressing-mode-reg-reg.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qadd.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-pred-operations.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_expa.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptest.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tsmul.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cls.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-counting-bits.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrh.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-conversion.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qsub.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_wrffr.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-uqinc.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintx.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-reduce.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmsb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_not.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-64bit-unscaled-offset.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmla.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eor.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-sqinc.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-int-compares.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sub.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkn.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_neg.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintn.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdech.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clz.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-vector-base-scalar-offset.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-insert-element.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntp.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnm.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-sqdec.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrd.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-zeroinit.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-calling-convention.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-reduce-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orn.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mla.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_compact.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-int-arith-merging.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_setffr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eorv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntd.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith-merging.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmls.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsic-opts-ptest.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1b.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-matmul-fp32.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnm.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintz.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-alloca-stackid.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-gather-prefetches-vect-base-invalid-imm-offset.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-shifts-merging.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpx.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-imm-addr-mode.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsr.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-extract-element.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrte.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qinch.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-dup-x.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfh.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rdffr.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-reversal.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsic-opts-reinterpret.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnth.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-vselect-imm.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-pred-log.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfw.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-bitcast.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-div-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revw.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincp.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-logical.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_addv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulx.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-mul-pred.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-adr.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extw.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmad.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinta.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mov.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-imm.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sqrt.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-sel.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_msb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-int-arith.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-counting-elems.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1h.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-pred-creation.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-vscale-combine.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-pred-testing.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinti.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecp.c
The file was removedclang/test/CodeGen/aarch64-sve-intrinsics/README
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-mad-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfalse.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_add.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfirst.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-compares.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_max.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-select.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-vector-base-imm-offset.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrts.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adda.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-matmul-fp64.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-64bit-scaled-offset.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntw.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recps.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-converts.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_andv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintm.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintp.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-shifts.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-vscale.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tmad.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpa.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_scale.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rbit.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-log-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_exth.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-int-compares-with-imm.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-uqdec.ll
Commit 158e734af19d6be206f80c213a028b569c441b24 by david.green
[ARM] Adjust AND/OR combines to not call isConstantSplat on i1 vectors. NFC.

The rearranges PerformANDCombine and PerformORCombine to try and make
sure we don't call isConstantSplat on any i1 vectors. As pointed out in
D81860 it may not be very well defined in those cases.
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit eaf49130a9bae3f83df6244ae90319f455b1571b by frgossen
[MLIR][Shape] Realize `shape` to `std` lowering with declarative patterns

Setup declarative rewrite rules to lower the `shape` dialect to the `std`
dialect with two exemplary rules for `from/to_extent_tensor`.

Differential Revision: https://reviews.llvm.org/D82022
The file was modifiedmlir/lib/Conversion/ShapeToStandard/CMakeLists.txt
The file was addedmlir/lib/Conversion/ShapeToStandard/ShapeToStandardPatterns.td
The file was modifiedmlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
Commit 945d20f7ab28bbf836bc7911d59f37eb9e9a6c87 by frgossen
[MLIR][Shape] Lower `size_to_index` and `index_to_size` with declarative rules

Replace implemented rewrite patterns with equivalent declarative rules.

Differential Revision: https://reviews.llvm.org/D82023
The file was modifiedmlir/lib/Conversion/ShapeToStandard/ShapeToStandardPatterns.td
The file was modifiedmlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
Commit ae22e8416347757e91c8bcf9e431a5893dd8d000 by david.sherwood
[CodeGen] Fix warnings in isPow2VectorType and getPow2VectorType

We should either call getVectorMinNumElements() or
getVectorElementCount().

Differential Revision: https://reviews.llvm.org/D81945
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.h
Commit d14d96b74375f419c239dddd7c73eddf756265c9 by zinenko
[mlir] [Vector] Add missing edsc intrinsics.

Differential Revision: https://reviews.llvm.org/D81934
The file was modifiedmlir/include/mlir/Dialect/Vector/EDSC/Intrinsics.h
Commit f9c7e3136ed9c5193699133c0b7deb75cfcfbec0 by sguelton
Correctly report modified status for HWAddressSanitizer

Differential Revision: https://reviews.llvm.org/D81238
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Commit 65912a9768e035c7987d7a8932157978c6b22a15 by david.sherwood
[CodeGen] Fix warnings in foldCONCAT_VECTORS

Instead of asserting the number of elements is the same, we should be
comparing the element counts instead. In addition, when looking at
concats of extract_subvectors it's fine to use getVectorMinNumElements()
for scalable vectors.

I discovered these warnings when compiling the structured loads tests in
this file:

  test/CodeGen/AArch64/sve-intrinsics-loads.ll

Differential Revision: https://reviews.llvm.org/D81936
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 6d18c2067ef1f2450078c115966ebb2699b0558c by flo
[Matrix] Update load/store intrinsics.

This patch adjust the load/store matrix intrinsics, formerly known as
llvm.matrix.columnwise.load/store, to improve the naming and allow
passing of extra information (volatile).

The patch performs the following changes:
* Rename columnwise.load/store to column.major.load/store. This is more
   expressive and also more in line with the naming in Clang.
* Changes the stride arguments from i32 to i64. The stride can be
   larger than i32 and this makes things more uniform with the way
   things are handled in Clang.
* A new boolean argument is added to indicate whether the load/store
   is volatile. The lowering respects that when emitting vector
   load/store instructions
* MatrixBuilder is updated to require both Alignment and IsVolatile
   arguments, which are passed through to the generated intrinsic. The
   alignment is set using the `align` attribute.

The changes are grouped together in a single patch, to have a single
commit that breaks the compatibility. We probably should be fine with
updating the intrinsics, as we did not yet officially support them in
the last stable release. If there are any concerns, we can add
auto-upgrade rules for the columnwise intrinsics though.

Reviewers: anemet, Gerolf, hfinkel, andrew.w.kaylor, LuoYuanke, nicolasvasilache, rjmccall, ftynse

Reviewed By: anemet, nicolasvasilache

Differential Revision: https://reviews.llvm.org/D81472
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-store-float.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/bigger-expressions-double.ll
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/remarks.ll
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/remarks-shared-subtrees.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-load-double.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-add-sub-double-row-major.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/propagate-backward.ll
The file was modifiedllvm/test/Verifier/matrix-intrinsics.ll
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-load-i32.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/propagate-forward.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/propagate-multiple-iterations.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/propagate-mixed-users.ll
The file was modifiedmlir/test/Target/llvmir-intrinsics.mlir
The file was modifiedllvm/include/llvm/IR/MatrixBuilder.h
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-load-float.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/const-gep.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/remarks-inlining.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-store-double.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-store-i32.ll
Commit 7e30ef77f6749695e79a8e43a1d1780ef57a52d2 by david.sherwood
[CodeGen] Fix warnings in getVectorTypeBreakdown

Added NextPowerOf2() routine to TypeSize and rewritten the code
in getVectorTypeBreakdown to avoid warnings being generated.

Differential Revision: https://reviews.llvm.org/D81578
The file was modifiedllvm/include/llvm/Support/TypeSize.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
Commit 9ce89b3b6459f348d0db55195152b9d0935dba94 by flo
[Matrix] Add volatile load/store tests (NFC).
The file was addedllvm/test/Transforms/LowerMatrixIntrinsics/load-align-volatile.ll
The file was addedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-volatile.ll
The file was addedllvm/test/Transforms/LowerMatrixIntrinsics/store-align-volatile.ll
Commit 12c8e3632edda3bc640867ba326b52b5b2220a57 by gchatelet
[Clang][Sema] Use of incorrect __has_feature vs __has_builtin
The file was modifiedclang/test/Sema/builtins-memcpy-inline.cpp
Commit 1d7b4a7e5e4a25605ec9926da1fb461840a1f216 by sander.desmalen
[SveEmitter] Add builtins for tuple creation (svcreate2/svcreate3/etc)

The svcreate builtins allow constructing a tuple from individual vectors, e.g.

  svint32x2_t svcreate2(svint32_t v2, svint32_t v2)`

Reviewers: c-rhodes, david-arm, efriedma

Reviewed By: c-rhodes, efriedma

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81463
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4.c
The file was modifiedclang/include/clang/Basic/TargetBuiltins.h
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/include/clang/Basic/arm_sve.td
Commit 15bf42d503b9c388135308d37e1d153a05b33699 by aykevanlaethem
[AVR] Implement disassembly of 32-bit instructions

This needed two fixes:

  * 32-bit instructions were read in the wrong order. The machine code
    swaps the two 16-bit instruction words, which wasn't undone when
    decoding instructions.
  * Jump and call instructions don't encode the lowest address bit,
    which is always zero. Therefore, the address needed to be shifted by
    one to fix that.

Differential Revision: https://reviews.llvm.org/D81961
The file was modifiedllvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp
The file was modifiedllvm/test/MC/AVR/inst-jmp.s
The file was modifiedllvm/test/MC/AVR/inst-lds.s
The file was modifiedllvm/lib/Target/AVR/AVRInstrInfo.td
The file was modifiedllvm/test/MC/AVR/inst-sts.s
The file was modifiedllvm/test/MC/AVR/inst-call.s
Commit e31e8f1ed57eb25584903f1a67040babf2c48eda by zinenko
[MLIR][Linalg] Retire C++ MatvecOp in favor of a linalg-ods-gen'd op

Replace C++ MatvecOp, now that DRR rules have been dropped.

Differential Revision: https://reviews.llvm.org/D82007
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
The file was modifiedmlir/lib/Conversion/LinalgToStandard/LinalgToStandard.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp
The file was modifiedmlir/test/Dialect/Linalg/transform-patterns.mlir
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/loops.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc
Commit a75e09372e7f8715f93013a03542acfbb046583a by zinenko
[mlir] Provide OpBuilder-based replacements for edsc::BlockBuilder

The ScopedBuilder class in EDSC is being gradually phased out in favor of core
OpBuilder-based helpers with callbacks. Provide helper functions that are
compatible with `edsc::ScopedContext` and can be used to create and populate
blocks using callbacks that take block arguments as callback arguments. This
removes the need for `edsc::BlockHandle`, forward-declaration of `Value`s used
for block arguments and the tag `edsc::Append` class, leading to noticable
reduction in the verbosity of the code using helper functions.

Remove "eager mode" construction tests that are only relevant to the
`BlockBuilder`-based approach.

`edsc::BlockHandle` and `edsc::BlockBuilder` are now deprecated and will be
removed soon.

Differential Revision: https://reviews.llvm.org/D82008
The file was modifiedmlir/lib/EDSC/Builders.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/EDSC/Intrinsics.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/EDSC/Builders.h
The file was modifiedmlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
The file was modifiedmlir/include/mlir/EDSC/Builders.h
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
Commit 934bcaf10b57fc199d9b15722ea50f65a791ca4e by flo
[Matrix] Add __builtin_matrix_column_load to Clang.

This patch add __builtin_matrix_column_major_load to Clang,
as described in clang/docs/MatrixTypes.rst. In the initial version,
the stride is not optional yet.

Reviewers: rjmccall, rsmith, jfb, Bigcheese

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D72781
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/test/CodeGenObjC/matrix-type-builtins.m
The file was modifiedclang/test/SemaCXX/matrix-type-builtins.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Basic/Builtins.def
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/test/Sema/matrix-type-builtins.c
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/CodeGen/matrix-type-builtins.c
The file was modifiedclang/test/CodeGenCXX/matrix-type-builtins.cpp
The file was addedclang/test/SemaCXX/matrix-type-builtins-disabled.cpp
Commit 3626eba11f2367da88ccb0280a34731243278034 by jeremy.morse
[NFC][LiveDebugValues] Document how LiveDebugValues operates

We're missing a plain English explanation of how this pass is supposed
to operate -- add one to the file comment.

Differential Revision: https://reviews.llvm.org/D80929
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
Commit 8a82bc3ef356d454e100c61572e9f72f850509a1 by noreply
[mlir] NFC: Fix link in traits documentation
The file was modifiedmlir/docs/Traits.md
Commit 108560e58c41fc70341d763b941a0d6c24c4d3a9 by hans
Try to remove the acle_sve_adda.s file that's breaking tests
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adda.c
Commit 4ea8e27a642c6f97ca69cd39bbe44f7366870f6c by sander.desmalen
[SveEmitter] Add builtins to insert/extract subvectors from tuples (svget/svset)

For example:
  svint32_t svget4(svint32x4_t tuple, uint64_t imm_index)

returns the subvector at `index`, which must be in range `0..3`.
  svint32x3_t svset3(svint32x3_t tuple, uint64_t index, svint32_t vec)

returns a tuple vector with `vec` inserted into `tuple` at `index`,
which must be in range `0..2`.

Reviewers: c-rhodes, efriedma

Reviewed By: c-rhodes

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81464
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_set2.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_get3.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_get2.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_set3.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4.c
The file was modifiedclang/include/clang/Basic/TargetBuiltins.h
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_set4.c
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_get4.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
Commit b5e082e7289197bf82c9a28c6336b51d7999b419 by flo
[Matrix] Add __builtin_matrix_column_store to Clang.

This patch add __builtin_matrix_column_major_store to Clang,
as described in clang/docs/MatrixTypes.rst. In the initial version,
the stride is not optional yet.

Reviewers: rjmccall, jfb, rsmith, Bigcheese

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D72782
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/include/clang/Basic/Builtins.def
The file was modifiedclang/test/SemaObjC/matrix-type-builtins.m
The file was modifiedclang/test/SemaCXX/matrix-type-builtins.cpp
The file was modifiedclang/test/CodeGenCXX/matrix-type-builtins.cpp
The file was modifiedclang/test/CodeGenObjC/matrix-type-builtins.m
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/Sema/matrix-type-builtins.c
The file was modifiedclang/test/CodeGen/matrix-type-builtins.c
Commit d88acd8f7d77f2e7ef2b0840f05d5ee9f53fdf99 by flo
[Matrix] Preserve volatile when loading loads/stores.

Currently the matrix lowering turns volatile loads/stores into
non-volatile ones. This patch updates the lowering to preserve the
volatile bit.

Reviewers: anemet, Gerolf, hfinkel, andrew.w.kaylor, LuoYuanke, nicolasvasilache

Reviewed By: anemet

Differential Revision: https://reviews.llvm.org/D81498
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/load-align-volatile.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-volatile.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/store-align-volatile.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Commit 3324598844a28850527b8abc8b83579ad7ab94a2 by tpopp
[mlir] Add a pass to remove all shape.cstr_ and assuming_ ops.

Summary:
This is to provide a utility to remove unsupported constraints or for
pipelines that happen to receive these but cannot lower them due to not
supporting assertions.

Differential Revision: https://reviews.llvm.org/D81560
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/Shape.h
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
The file was addedmlir/test/Dialect/Shape/remove-shape-constraints.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/Transforms/Passes.td
The file was addedmlir/lib/Dialect/Shape/Transforms/RemoveShapeConstraints.cpp
The file was modifiedmlir/include/mlir/Dialect/Shape/Transforms/Passes.h
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/lib/Dialect/Shape/Transforms/CMakeLists.txt
Commit d8c612b7eabcc7ec399fad533d5beefa4ae08ac9 by hans
Make matrix-type-builtins.m pass also on platforms where the type is 'unsigned long long'
The file was modifiedclang/test/SemaObjC/matrix-type-builtins.m
Commit 7aad220795b50bee591cf34dfdbb030ca4d5bdc0 by sameer.sahasrabuddhe
[DA] conservatively mark the join of every divergent branch

For a loop, a join block is a block that is reachable along multiple
disjoint paths from the exiting block of a loop. If the exit condition
of the loop is divergent, then such join blocks must also be marked
divergent. This currently fails in some cases because not all join
blocks are identified correctly.

The workaround is to conservatively mark every join block of any
branch (not necessarily the exiting block of a loop) as divergent.

https://bugs.llvm.org/show_bug.cgi?id=46372

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D81806
The file was addedllvm/test/Analysis/DivergenceAnalysis/AMDGPU/join-at-loop-exit.ll
The file was addedllvm/test/Analysis/DivergenceAnalysis/AMDGPU/trivial-join-at-loop-exit.ll
The file was modifiedllvm/lib/Analysis/DivergenceAnalysis.cpp
Commit 4612f391200d0b4e21bc040a098227d73679de53 by paul.walker
[SVE] Add flag to specify SVE register size, using this to calculate legal vector types.

Adds aarch64-sve-vector-bits-{min,max} to allow the size of SVE
data registers (in bits) to be specified. This allows the code
generator to make assumptions it normally couldn't. As a starting
point this information is used to mark fixed length vector types
that can fit within the specified size as legal.

Reviewers: rengolin, efriedma

Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80384
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was addedllvm/test/Analysis/CostModel/AArch64/sve-fixed-length.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit a255931c40558edf87994c2a8ed9b274c3fbda30 by lucas.prates
[ARM] Supporting lowering of half-precision FP arguments and returns in AArch32's backend

Summary:
Half-precision floating point arguments and returns are currently
promoted to either float or int32 in clang's CodeGen and there's
no existing support for the lowering of `half` arguments and returns
from IR in AArch32's backend.

Such frontend coercions, implemented as coercion through memory
in clang, can cause a series of issues in argument lowering, as causing
arguments to be stored on the wrong bits on big-endian architectures
and incurring in missing overflow detections in the return of certain
functions.

This patch introduces the handling of half-precision arguments and returns in
the backend using the actual "half" type on the IR. Using the "half"
type the backend is able to properly enforce the AAPCS' directions for
those arguments, making sure they are stored on the proper bits of the
registers and performing the necessary floating point convertions.

Reviewers: rjmccall, olista01, asl, efriedma, ostannard, SjoerdMeijer

Reviewed By: ostannard

Subscribers: stuij, hiraditya, dmgreen, llvm-commits, chill, dnsampaio, danielkiss, kristof.beyls, cfe-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D75169
The file was modifiedllvm/test/CodeGen/ARM/vecreduce-fadd-legalization-strict.ll
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-unsupported.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/test/CodeGen/ARM/vecreduce-fmul-legalization-strict.ll
The file was modifiedllvm/test/CodeGen/ARM/fp16-bitcast.ll
The file was modifiedllvm/lib/Target/ARM/ARMCallLowering.cpp
The file was modifiedllvm/test/CodeGen/ARM/fp16-promote.ll
The file was modifiedllvm/test/CodeGen/ARM/fp16-args.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-fminmax.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-shuffle.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vdup.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMCallingConv.cpp
The file was modifiedllvm/test/CodeGen/ARM/fp16-vminmaxnm-safe.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMCallingConv.td
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
Commit 92ad6d57c21824ddb4bca2d01734c5d2c391b5b5 by lucas.prates
[ARM] Moving CMSE handling of half arguments and return to the backend

Summary:
As half-precision floating point arguments and returns were previously
coerced to either float or int32 by clang's codegen, the CMSE handling
of those was also performed in clang's side by zeroing the unused MSBs
of the coercer values.

This patch moves this handling to the backend's calling convention
lowering, making sure the high bits of the registers used by
half-precision arguments and returns are zeroed.

Reviewers: chill, rjmccall, ostannard

Reviewed By: ostannard

Subscribers: kristof.beyls, hiraditya, danielkiss, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D81428
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/ARM/cmse-clear-float-hard.ll
Commit ada4c9dc4a63160b6b3cfd5965884c6cce2a405c by lucas.prates
[ARM][Clang] Removing lowering of half-precision FP arguments and returns from Clang's CodeGen

Summary:
On the process of moving the argument lowering handling for
half-precision floating point arguments and returns to the backend, this
patch removes the code that was responsible for handling the coercion of
those arguments in Clang's Codegen.

Reviewers: rjmccall, chill, ostannard, dnsampaio

Reviewed By: ostannard

Subscribers: stuij, kristof.beyls, dmgreen, danielkiss, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81451
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/cplusplus.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vmulq.c
The file was removedclang/test/CodeGen/cmse-clear-fp16.c
The file was modifiedclang/test/CodeGen/arm-fp16-arguments.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vaddq.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/get-set-lane.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/ternary.c
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/compare.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vminvq.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vsubq.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/dup.c
Commit 3cfd74e64be2b283bb6205c629796f58c8aca47c by david.sherwood
[SVE] Add checks for no warnings in SVE tests

There are now quite a few SVE tests in LLVM and Clang that do not
emit warnings related to invalid use of EVT::getVectorNumElements()
and VectorType::getNumElements(). For these tests I have added
additional checks that there are no warnings in order to prevent
any future regressions.

Differential Revision: https://reviews.llvm.org/D80712
The file was modifiedllvm/test/CodeGen/AArch64/sve-insert-element.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinti.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tsmul.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincp.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mul.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulh.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tmad.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-pred-non-temporal-ldst-addressing-mode-reg-imm.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith-merging.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-logical.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnmv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-extract-element.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnm.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-calling-convention.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-st1.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptest.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eorv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincd.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-select.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdech.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_andv.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-reg.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmls.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrd.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-sqinc.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntp.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1h.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-reg-addr-mode.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-vselect-imm.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_and.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecw.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_msb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-adr.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulx.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpe.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-converts.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-reduce-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-reversal.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmla.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-matmul-fp32.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_not.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qinch.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bic.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mls.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scalar-to-vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-shifts-merging.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-pred-log.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-dup-x.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1b.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-counting-bits.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-reduce.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-gather-prefetches-vect-base-invalid-imm-offset.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_addv.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-64bit-scaled-offset.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mov.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orn.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintm.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrh.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-log-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrte.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_setffr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-shifts.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintz.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_exth.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_neg.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecp.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-zeroinit.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fp.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eor.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_div.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsl.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-uqinc.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-bitcast.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxv.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mad.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-sqdec.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brka.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sqrt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-mad-pred.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-matmul-fp64.ll
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/README
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-compares.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_wrffr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qadd.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-imm.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_compact.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmad.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tssel.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-contiguous-prefetches.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-mul-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rbit.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-div-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnm.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintn.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rdffr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revh.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recps.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntw.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-sel.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfw.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkn.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_max.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintp.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-conversion.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-counting-elems.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-64bit-unscaled-offset.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-uqdec.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orv.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintx.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-index.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfh.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-pred-creation.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpa.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-int-arith-merging.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-int-arith.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpx.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_divr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnot.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-pred-non-temporal-ldst-addressing-mode-reg-reg.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-pred-operations.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clz.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfirst.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asrd.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minv.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnth.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincw.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-arith-pred.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_min.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sub.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinta.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmla.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_expa.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincb.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-vector-base-imm-offset.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-scatter-stores-vector-base-scalar-offset.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-ffr-manipulation.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsic-opts-ptest.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qsub.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cls.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_scale.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extw.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mla.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrts.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-imm-addr-mode.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asr.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_add.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnmv.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-gather-prefetches-vect-base-imm-offset.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abs.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-pred-testing.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmsb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfalse.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpb.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrw.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-vscale-combine.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsic-opts-reinterpret.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revw.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1w.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cadd.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-vscale.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adda.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dot.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nor.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-alloca-stackid.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-int-compares.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-matmul-int8.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nand.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-int-compares-with-imm.ll
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext.c
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_subr.c
Commit 1669fddc9f6096a5c674ba0a459403ea2c5ffd9c by flo
[Matrix] Use alignment info when lowering loads/stores.

This patch updates LowerMatrixIntrinsics to preserve the alignment
specified at the original load/stores and the align attribute for the
pointer argument of the column.major.load/store intrinsics.

We can always use the specified alignment for the load of the first
column. For subsequent columns, the alignment may need to be reduced.

For ConstantInt strides, compute the offset for the start of the column in
bytes and use commonAlignment to get the largest valid alignment.

For non-ConstantInt strides, we need to take the common alignment of the
initial alignment and the element size in bytes.

Reviewers: anemet, Gerolf, hfinkel, andrew.w.kaylor, LuoYuanke, rjmccall

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D81960
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/store-align-volatile.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/load-align-volatile.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/const-gep.ll
Commit eb4c758fe4b60ae3779d3e9401d00ee1450ae41b by flo
[Matrix] Pass darwin tripe to SeamObjc test to fix windows bot failure.

Without the triple, the test fails on a windows bot
(http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/16531/steps/stage%201%20check/logs/stdio)

because of different full type widths (unsigned long long vs unsigned long)
The file was modifiedclang/test/SemaObjC/matrix-type-builtins.m
Commit 05843dc6ab97a00cbde7aa4f08bf3692eb83109d by riccibrun
[clang] Fix the serialization of LambdaExpr and the bogus mutation in LambdaExpr::getBody

The body of LambdaExpr is currently not properly serialized. Instead
LambdaExpr::getBody checks if the body has been already deserialized and if
not mutates LambdaExpr. This can be observed with an AST dump test, where
the body of the LambdaExpr will be null.

The mutation in LambdaExpr::getBody was left because of another bug: it is not
true that the body of a LambdaExpr is always a CompoundStmt; it can also be
a CoroutineBodyStmt wrapping a CompoundStmt. This is fixed by returning a
Stmt * from getBody and introducing a convenience function getCompoundStmtBody
which always returns a CompoundStmt *. This function can be used by callers who
do not care about the coroutine node.

Happily all but one user of getBody treat it as a Stmt * and so this change
is non-intrusive.

Differential Revision: https://reviews.llvm.org/D81787

Reviewed By: aaron.ballman
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/test/AST/ast-dump-lambda.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
Commit c7350a3bab14eb633f39a949f85ac0e690cd9b4d by riccibrun
[clang][utils] Modify make-ast-dump-check.sh to generate AST serialization dump tests

An AST serialization dump test is a test which compares the output of -ast-dump
on the source and of -ast-dump-all on a PCH generated from the source. Modulo
a few differences the outputs should match.

This patch to make-ast-dump-check.sh enables automatically generating
these tests.

Differential Revision: https://reviews.llvm.org/D81786

Reviewed By: aaron.ballman, lebedev.ri
The file was modifiedclang/utils/make-ast-dump-check.sh
Commit 92d8ad02e92fed3884169ba5d98056fe4fa5660d by Yaxun.Liu
[HIP] Fix rocm not found on rocm3.5

Currently rocm detector expects device library bitcodes named as *.bc
instead of *.amdgcn.bc. However in rocm3.5 the device library bitcodes
are named as *.amdgcn.bc, which causes rocm3.5 not detected.

This patch fixes that.

Differential Revision: https://reviews.llvm.org/D81713
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
Commit a45409d8855a1e4538990507ef25e9b51c090193 by alexandre.ganea
[Clang] Move clang::Job::printArg to llvm::sys::printArg. NFCI.

This patch is to support/simplify https://reviews.llvm.org/D80833
The file was modifiedllvm/include/llvm/Support/Program.h
The file was modifiedclang/lib/Driver/Job.cpp
The file was modifiedclang/include/clang/Driver/Job.h
The file was modifiedllvm/lib/Support/Program.cpp
The file was modifiedclang/lib/Driver/Driver.cpp
Commit 24eff42ba4b85eaa5429e8efe9bd2070d34ba1f7 by alexandre.ganea
[CodeView] Add TypeCollection::replaceType to replace type records post-merging

The API is not called in this patch. This is to simply/support https://reviews.llvm.org/D80833
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h
The file was modifiedllvm/lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/TypeTableCollection.h
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h
The file was modifiedllvm/lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h
The file was modifiedllvm/lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h
The file was modifiedllvm/lib/DebugInfo/CodeView/TypeTableCollection.cpp
The file was modifiedllvm/lib/DebugInfo/CodeView/LazyRandomTypeCollection.cpp
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/TypeCollection.h
Commit 89ea0b05207d45c145fb525df554b3b986ae379b by alexandre.ganea
[MC] Pass down argv0 & cc1 cmd-line to the back-end and store in MCTargetOptions

When targetting CodeView, the goal is to store argv0 & cc1 cmd-line in the emitted .OBJ, in order to allow a reproducer from the .OBJ alone.

This patch is to simplify https://reviews.llvm.org/D80833
The file was modifiedclang/tools/driver/driver.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.h
The file was modifiedllvm/include/llvm/MC/MCTargetOptions.h
The file was modifiedclang/include/clang/Frontend/CompilerInvocation.h
The file was modifiedclang/lib/Tooling/Tooling.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedclang/lib/Frontend/CreateInvocationFromCommandLine.cpp
The file was modifiedclang/tools/driver/cc1_main.cpp
Commit 403f9537924b8910ed4f741ed96c61f5e657915b by alexandre.ganea
[CodeView] Add full repro to LF_BUILDINFO record

This patch adds some missing information to the LF_BUILDINFO which allows for rebuilding an .OBJ without any external dependency but the .OBJ itself (other than the compiler executable).

Some tools need this information to reproduce a build without any knowledge of the build system. The LF_BUILDINFO therefore stores a full path to the compiler, the PWD (which is the CWD at program startup), a relative or absolute path to the TU, and the full CC1 command line. The command line needs to be freestanding (not depend on any environment variable). In the same way, MSVC doesn't store the provided command-line, but an expanded version (somehow their equivalent of CC1) which is also freestanding.

For more information see PR36198 and D43002.

Differential Revision: https://reviews.llvm.org/D80833
The file was addedclang/test/CodeGen/debug-info-codeview-buildinfo.c
The file was modifiedlld/COFF/PDB.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedlld/test/COFF/pdb-relative-source-lines.test
The file was modifiedlld/test/COFF/Inputs/pdb_lines_2_relative.yaml
The file was modifiedlld/test/COFF/Inputs/pdb_lines_1_relative.yaml
Commit 6853cc72218795d7bcc420fde40d8a6906394313 by ikudrin
[MC] Rename a misnamed function. NFC.

The patch renames MakeStartMinusEndExpr() to makeEndMinusStartExpr() to
better reflect an expression it creates and fix a naming style issue.

Differential Revision: https://reviews.llvm.org/D82079
The file was modifiedllvm/lib/MC/MCDwarf.cpp
Commit b2f2adee003adf24c88cc2154019422896b96551 by noreply
[llvm][docs] Document the LLVM_INSTALL_UTILS CMake option (NFC)
The file was modifiedllvm/docs/CMake.rst
Commit 7622ea5835f0381a426e504f4c03f11733732b83 by kamleshbhalui
[RISCV64] Emit correct lib call for fp(float/double) to ui/si

Since i32 is not legal in riscv64,
it always promoted to i64 before emitting lib call and
for conversions like float/double to int and float/double to unsigned int
wrong lib call was emitted. This commit fix it using custom lowering.

Differential Revision: https://reviews.llvm.org/D80526
The file was modifiedllvm/test/CodeGen/RISCV/rv64i-single-softfloat.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit 0c66af970c806d65d9335c7272610c82c2388e31 by Louis Dionne
[libc++] Allow specifying custom Lit config files

Before this patch, the libc++ test suite first loads lit.site.cfg
(generated by CMake), and then lit.cfg. It's also possible to load
lit.cfg before lit.site.cfg and to point to a custom lit.site.cfg
file using '--param=libcxx_site_config'. However, in that case, lit.cfg
still relies on the site configuration filling up the 'config' object
like the default lit.site.cfg file does, which isn't flexible enough.

This commit simplifies the setup by having just a single Lit site config
file per CMake configuration, and always loading exactly that config file.
However, the config file to use can be selected when setting up CMake via
the LIBCXX_TEST_CONFIG setting. Furthermore, the site configs are entirely
standalone, which means that a new site config can be added that doesn't
need to conform what's expected by config.py.

Differential Revision: https://reviews.llvm.org/D81846
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedlibcxx/test/CMakeLists.txt
The file was modifiedlibcxx/test/lit.site.cfg.in
The file was modifiedlibcxx/docs/TestingLibcxx.rst
The file was addedlibcxx/test/lit.cfg.py
The file was removedlibcxx/test/lit.cfg
Commit 8374bf43634725dc02a262a77b5f940fca25938c by alexandre.ganea
[CodeView] Fix generated command-line expansion in LF_BUILDINFO. Fix the 'pdb' entry which was previously a null reference, now an empty string.

Previously, the DIA SDK didn't like the empty reference in the 'pdb' entry.
The file was modifiedllvm/test/DebugInfo/COFF/global-type-hashes.ll
The file was modifiedclang/test/CodeGen/debug-info-codeview-buildinfo.c
The file was modifiedllvm/test/DebugInfo/COFF/types-basic.ll
The file was modifiedllvm/test/DebugInfo/COFF/types-data-members.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/test/DebugInfo/COFF/build-info.ll
Commit cab3fc53d2e173243a462e9c8e914af58ddbeaba by alexandre.ganea
Fix linker error in clang-fuzzer following 89ea0b05207d45c145fb525df554b3b986ae379b.

This fixes:
tools/clang/tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o:handle_cxx.cpp:function clang_fuzzer::HandleCXX(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*, std::vector<char const*, std::allocator<char const*> > const&): error: undefined reference to 'clang::tooling::newInvocation(clang::DiagnosticsEngine*, llvm::SmallVector<char const*, 16u> const&)'
The file was modifiedclang/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp
The file was modifiedclang/include/clang/Tooling/Tooling.h
Commit 8fbd6d99a0931090fbee473ed9c5e0db8efe8bab by mcypark
[libcxx/variant] Fix build error for when exceptions disabled.

Reviewers: #libc!

Subscribers: libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D81973
The file was modifiedlibcxx/include/variant
Commit ec789a41e296de552623b0e1836c70329ba85247 by Louis Dionne
[libc++] Add equality for spaceship types for themselves

- Adds operator==(partial_ordering, partial_ordering)
- Adds operator==(weak_ordering, weak_ordering)
- Adds operator==(strong_ordering, strong_ordering)

Differential Revision: https://reviews.llvm.org/D81823
The file was modifiedlibcxx/test/std/language.support/cmp/cmp.weakord/weakord.pass.cpp
The file was modifiedlibcxx/test/std/language.support/cmp/cmp.partialord/partialord.pass.cpp
The file was modifiedlibcxx/include/compare
The file was modifiedlibcxx/www/cxx2a_status.html
The file was modifiedlibcxx/test/std/language.support/cmp/cmp.strongord/strongord.pass.cpp
Commit fe0a85faf49fd8bc2e26bf92dc7cf96955b31646 by llvm-dev
[X86][SSE] Fold MOVMSK(PCMPEQ(X,0)) == -1 -> PTESTZ(X,X)

Allow combineSetCCMOVMSK to handle 'allof' X == 0 patterns to be replaced with PTESTZ

This is a preliminary patch before properly handling PR35129
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and-bool.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 243303f8d7952b5928659af8079949bb89fcabf2 by Matthew.Arsenault
Lanai: Remove unused method

This was depending on the MachineFunction at MachineFunctionInfo
construction, which will soon be disallowed.
The file was modifiedllvm/lib/Target/Lanai/LanaiMachineFunctionInfo.cpp
The file was modifiedllvm/lib/Target/Lanai/LanaiMachineFunctionInfo.h
Commit 850bb889a56ccf3252792c6d3db59542e94753ae by n.james93
[clang-tidy] RenamerClangTidy group redecls into 1 warning.

This changes the behavious of `RenamerClangTidyCheck` based checks by grouping declarations of the same thing into 1 warning where it is first declared.
This cleans up clang-tidy output and prevents issues where 1 fix-it couldn't be applied, yet all other warnings(and fix-its) for the same declaration would be applied.
The old behaviour of forward declaring a class without defining it isn't affected, i.e. no warnings will be emitted for that case.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D82059
The file was modifiedclang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming.cpp
Commit b4c91462e84e66684c09d36c3c4ee9a10b9cb2cb by aykevanlaethem
[AVR] Fix miscompilation of zext + add

Code like the following:

    define i32 @foo(i32 %a, i1 zeroext %b) addrspace(1) {
    entry:
      %conv = zext i1 %b to i32
      %add = add nsw i32 %conv, %a
      ret i32 %add
    }

Would compile to the following (incorrect) code:

    foo:
        mov     r18, r20
        clr     r19
        add     r22, r18
        adc     r23, r19
        sbci    r24, 0
        sbci    r25, 0
        ret

Those sbci instructions are clearly wrong, they should have been adc
instructions.

This commit improves codegen to use adc instead:

    foo:
        mov     r18, r20
        clr     r19
        ldi     r20, 0
        ldi     r21, 0
        add     r22, r18
        adc     r23, r19
        adc     r24, r20
        adc     r25, r21
        ret

This code is not optimal (it could be just 5 instructions instead of the
current 9) but at least it doesn't miscompile.

Differential Revision: https://reviews.llvm.org/D78439
The file was modifiedllvm/lib/Target/AVR/AVRInstrInfo.td
The file was modifiedllvm/test/CodeGen/AVR/add.ll
Commit 6f09bb7da21579c521db45466c7ca463f34572ed by Matthew.Arsenault
AMDGPU: Don't pass MachineFunction if only the IR Function is used
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
Commit d9b8aada8288ca4aff4a1d70bf5eb4d579c79036 by n.james93
[clang-tidy] Add --use-color command line option and UseColor option to control colors in diagnostics

This patch adds `--use-color` command line option and `UseColor` option to clang-tidy to control colors in diagnostics. With these options, users can force colorful output. This is useful when using clang-tidy with parallelization command line tools (like ninja and GNU parallel), as they often pipe clang-tidy's standard output and make the colors disappear.

Reviewed By: njames93

Differential Revision: https://reviews.llvm.org/D79477
The file was addedclang-tools-extra/test/clang-tidy/infrastructure/use-color.cpp
The file was modifiedclang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyOptions.h
The file was modifiedclang-tools-extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyOptions.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidy.cpp
Commit b4c7a7542f482b4e1ac1d3936314fafd30b3b8db by hans
Don't require shell in clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adda.c

rm works fine without it.
The file was modifiedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adda.c
Commit 9bcd59fdef0d2a622ed0c7e355a3b6711597366f by thakis
fix a typo to cycle bots
The file was modifiedlld/MachO/Options.td
Commit 24744213982a1fa5902233ae81fd3afe03fd3514 by llvm-dev
[TargetLowering] SimplifyMultipleUseDemandedBits - drop already extended ISD::SIGN_EXTEND_INREG nodes.

If the source of the SIGN_EXTEND_INREG node is already sign extended, use the source directly.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or-bool.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-xor-bool.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and-bool.ll
Commit 2d865ccbd8c47fe94af04a6cffd02c45a24e2ffb by Saleem Abdulrasool
unwind: EHABISectionIterator `operator!=`, constify `operator-`

Add missing `operator!=` and make `operator-` const for
`EHABISectionIterator`.  This repairs the build of libunwind when
building with GCC.

Patch by Chad Duffin!

Reviewed By: compnerd, libunwind
Differential Revision: https://reviews.llvm.org/D81597
The file was modifiedlibunwind/src/UnwindCursor.hpp
Commit 3ed2909feb34e5b68c6272def7d445a7ca4c5c6f by psteinfeld
[flang] Fix crash with alternate returns in modules

Summary:
We weren't handling the case of subroutines with alternate returns that
are contained in modules.  I changed the code to add an `*` as the name
of the parameter when creating the `.mod` file.

Reviewers: tskeith, klausler, DavidTruby

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82096
The file was modifiedflang/lib/Semantics/mod-file.cpp
The file was modifiedflang/test/Semantics/modfile04.f90
Commit 1ec469cf4c20a0f80ab6507e3838cfcc3e4f9595 by a.bataev
[OPENMP50]Codegen for scan directives in parallel for regions.

Summary:
Added codegen for scan directives in parallel for regions.

Emits the code for the directive with inscan reductions.
Original code:
```
#pragma omp parallel for reduction(inscan, op : ...)
for() {
   <input phase>;
   #pragma omp scan (in)exclusive(...)
   <scan phase>
}
```
is transformed to something:

```
#pragma omp parallel
{
size num_iters = <num_iters>;
<type> buffer[num_iters];
#pragma omp for
for (i: 0..<num_iters>) {
  <input phase>;
  buffer[i] = red;
}
#pragma omp barrier
for (int k = 0; k != ceil(log2(num_iters)); ++k)
for (size cnt = last_iter; cnt >= pow(2, k); --k)
  buffer[i] op= buffer[i-pow(2,k)];
#pragma omp for
for (0..<num_iters>) {
  red = InclusiveScan ? buffer[i] : buffer[i-1];
  <scan phase>;
}
}
```

Reviewers: jdoerfert

Subscribers: yaxunl, guansong, sstefan1, cfe-commits, caomhin

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81478
The file was addedclang/test/OpenMP/parallel_for_scan_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
Commit 84167a8d58e8af79625abcffdf2c860d556955e6 by Amara Emerson
[docs] Clarify semantics of ordered fadd/fmul reductions.

Differential Revision: https://reviews.llvm.org/D82034
The file was modifiedllvm/docs/LangRef.rst
Commit ecdf48f15bd2d1a73ae6ab5b46387b0ebead6e99 by alexandros.lamprineas
[ARM] Basic bfloat support

This patch adds basic support for BFloat in the Arm backend.
For now the code generation relies on fullfp16 being present.

Briefly:
* adds the bfloat scalar and vector types in the necessary register classes,
* adjusts the calling convention to cope with bfloat argument passing and return,
* adds codegen patterns for moves, loads and stores.

It's tested mostly by the intrinsic patches that depend on it (load/store, convert/copy).

The following people contributed to this patch:

* Alexandros Lamprineas
* Ties Stuij

Differential Revision: https://reviews.llvm.org/D81373
The file was modifiedllvm/lib/Target/ARM/ARMCallingConv.td
The file was modifiedllvm/lib/Target/ARM/ARMInstrVFP.td
The file was modifiedllvm/lib/Target/ARM/ARMCallingConv.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrFormats.td
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.h
The file was addedllvm/test/CodeGen/ARM/bfloat.ll
The file was modifiedllvm/lib/Target/ARM/ARMRegisterInfo.td
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrNEON.td
Commit 53d6bfef32e371fb984a40b52208c6e34bd54e05 by tbosch
[Dexter] Add --source-dir-root flag

Summary:
This allows to run dexter tests with separately compiled
binaries that are specified via --binary if the source file
location changed between compilation and dexter test run.

Reviewers: TWeaver, jmorse, probinson, #debug-info

Reviewed By: jmorse

Subscribers: #debug-info, cmtice, llvm-commits

Tags: #llvm, #debug-info

Differential Revision: https://reviews.llvm.org/D81319
The file was modifieddebuginfo-tests/dexter/dex/debugger/DebuggerBase.py
The file was modifieddebuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py
The file was modifieddebuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
The file was addeddebuginfo-tests/dexter/feature_tests/subtools/test/source-root-dir.cpp
The file was modifieddebuginfo-tests/dexter/dex/debugger/Debuggers.py
The file was modifieddebuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
Commit 4971d0b8ec6e8d3b9ea5980d96cf5812886671df by a.bataev
[OPENMP50]Allow nonmonotonic modifier for all schedule kinds.

Summary:
According to OpenMP 5.0, nonmonotonic modifier can be used with all
schedule kinds, not only dynamic and guided as in OpenMP 4.5.

Reviewers: jdoerfert

Subscribers: yaxunl, guansong, sstefan1, cfe-commits, caomhin

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82026
The file was modifiedclang/test/OpenMP/for_ast_print.cpp
The file was modifiedclang/test/OpenMP/schedule_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/for_schedule_messages.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit da419320ef22c68b8178e1e349398877448b163f by lebedev.ri
[NFC][IndVarSimplify] Test: replacing IV user with unsafe loop-invariant (PR45360)

https://bugs.llvm.org/show_bug.cgi?id=45360

This is reduced from the (runnable) test provided in the bug report.
The remainder operation is originally guarded, it never divides by zero.
Indvars should not make it execute unconditionally.

This is not a great test, running whole -O2 is fragile,
but i really don't understand why running -indvars on the IR before
that tranform happens doesn't work.
The file was addedllvm/test/Transforms/IndVarSimplify/X86/pr45360.ll
Commit 3e59dfc301240ffb5e82bc43e05225d0d51d5cfa by francesco.petrogalli
[llvm][SveEmitter] Emit the bfloat version of `svld1ro`.

Summary:
The new SVE builtin type __SVBFloat16_t` is used to represent scalable
vectors of bfloat elements.

Reviewers: sdesmalen, efriedma, stuij, ctetreau, shafik, rengolin

Subscribers: tschuett, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81304
The file was modifiedclang/lib/CodeGen/CodeGenTypes.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was modifiedclang/test/AST/ast-dump-aarch64-sve-types.c
The file was modifiedclang/unittests/AST/SizelessTypesTest.cpp
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ro-bfloat.c
The file was modifiedclang/include/clang/Basic/AArch64SVEACLETypes.def
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/utils/TableGen/SveEmitter.cpp
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
Commit 91ef9305268760727e8cc90e2542a803621b2336 by aeubanks
[GlobalOpt] Remove preallocated calls when possible

When possible (e.g. internal linkage), strip preallocated attribute off
parameters/arguments.
This requires removing the "preallocated" operand bundle from the call
site, replacing @llvm.call.preallocated.arg() with an alloca and a
bitcast to i8*, and removing the @llvm.call.preallocated.setup(). Since
@llvm.call.preallocated.arg() can be called multiple times with the same
arg index, we create an alloca per arg index.
We add a @llvm.stacksave() where the @llvm.call.preallocated.setup() was
and a @llvm.stackrestore() after the preallocated call to prevent the
stack from blowing up. This is valid because the argument would normally
not exist on the stack after the call before the transformation.

This does not currently handle all possible preallocated calls. We will
need to figure out where to put @llvm.stackrestore() in the cases where
there is no obvious place to put it, for example conditional
preallocated calls, invokes.

This sort of transformation may need to be moved to somewhere more
accessible to accomodate similar transformations (like inlining) in the
future.

Reviewers: efriedma, hans

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80951
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
The file was addedllvm/test/Transforms/GlobalOpt/preallocated.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/fastcc.ll