Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADT] APSInt::getExtValue() - assumes signed bounds #59515

Closed
RKSimon opened this issue Dec 14, 2022 · 7 comments
Closed

[ADT] APSInt::getExtValue() - assumes signed bounds #59515

RKSimon opened this issue Dec 14, 2022 · 7 comments

Comments

@RKSimon
Copy link
Collaborator

RKSimon commented Dec 14, 2022

This was noticed on D139683 by @DataCorrupted

  /// Get the correctly-extended \c int64_t value.
  int64_t getExtValue() const {
    assert(getMinSignedBits() <= 64 && "Too many bits for int64_t");
    return isSigned() ? getSExtValue() : getZExtValue();
  }

For the unsigned case we should be asserting getActiveBits() <= 64 instead

@DataCorrupted DataCorrupted self-assigned this Dec 14, 2022
@DataCorrupted
Copy link
Member

I'll try to fix it and include a tryExtValue().

@efriedma-quic
Copy link
Collaborator

we should be asserting getActiveBits() <= 64

Do you mean getActiveBits() <= 63? We don't want to turn a positive number into a negative number.

@DataCorrupted
Copy link
Member

This... is the tricky part. I wrote <= 63, but then crashed ~10 unit tests. Still working on it. Seems people expected to get negative number

@DataCorrupted
Copy link
Member

This... is the tricky part. I wrote <= 63, but then crashed ~10 unit tests. Still working on it. Seems people expected to get negative number

nvm, my own mistake. The patch is ready for review here: https://reviews.llvm.org/D140059

DataCorrupted added a commit that referenced this issue Dec 18, 2022
Also provide a `tryExtValue()` API like APInt did in D139683

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D140059
@DataCorrupted
Copy link
Member

Closed as done by 7859d6e

DataCorrupted added a commit that referenced this issue Dec 18, 2022
This reverts commit 7859d6e.

Signed-off-by: Peter Rong <PeterRong96@gmail.com>
@EugeneZelenko EugeneZelenko reopened this Dec 19, 2022
Lewuathe added a commit to Lewuathe/mlir-hello that referenced this issue Dec 24, 2022
…2d1a74

23c1822d1a74 [examples] Fix leaks in OrcV2 c-bindings examples.
073cc29e04b7 [X86][Reduce] Preserve fast math flags when change it. NFCI
5759d9467cbe Revert "Apply shortened printing/parsing form to linalg.reduce."
828b4762caf4 Revert "[mlir][GPU] Add known_block_size and known_grid_size to gpu.func"
0e8d4980a8bc [lld-macho] Standardize error messages
c10b0dfdc8ae [NFC][Codegen] Add RISCV test coverage for D140638
8256ddf78cc5 Resolve a long-standing FIXME in memcpyopt.
387c1573f891 [NFC][Codegen] Tests with wide scalar shifts, for new potential legalization strategy
e3774304a2ea [Support] Use APInt::udivrem in DivisionByConstantInfo. NFC
171ab1bc1812 Add explicit template instantiation declarations for existing explicit definitions.
61f94f2768e6 [lld-macho] Only fold private-label aliases that do not have flags
7f60ed12effa [reland][lld-macho] Private label aliases to weak symbols should not retain section data
08d1d74289f4 [APInt] Move a comment from urem to srem where it belongs.
462a31f5a5ab [APFloat] Remove workaround for old clang.
aad725928d76 [NFC][Codegen][X86] Add codegen test coverage for the variably-indexed load of alloca w/zero upper half
1578c670ff3c [NFC][SROA] Variably-indexed load: add test variation w/ upper half of alloca being zeros
f952bc05fda6 [IPSCCP] Create a Pass parameter to control specialization of functions.
a337c16d96a0 [lld-macho][test][nfc] Update stabs.s to use GMT time zone instead of UTC
fbee2dd9a4ba [clang][nullability] Remove old overload for getNullability()
86802fdc80cc [lld-macho][test] Hyphenate lit's check-prefixes
0edc92e6e098 [libc++] LWG3738 Validates a missing precondition.
83c1816224aa [libc++] LWG3745 noexcept for atomic_wait.
28b52abeec3c [TTI][NFC]Remove trailing spaces, NFC.
6a6ec6a7ce2f [mlir] Enable types to us custom assembly formats involving optional attributes.
a82e5825e087 [NFC][OpenMP] Fix compile warning caused by using `std::move` on a local object on a `return` statement
ef992b60798b [LoopUnroll] Convert some tests to opaque pointers (NFC)
03e848293e1c [DAGCombiner] `visitFREEZE()`: fix cycle breaking
de8e0a439777 ValueTracking: Teach canCreateUndefOrPoison about saturating intrinsics
c59ae4705558 InstCombine: Add baseline tests for saturating poison handling
841399a2188a [libc++] Add custom clang-tidy checks
0026874c8bd0 fix warn-xparser test
199563534a2f [gn] port f29cfab55d1f
f29cfab55d1f [InlineAdvisor] Restructure advisor plugin unittest cmake
d8f541efe7b4 [DAGCombiner] `visitFREEZE()`: fix handling of no maybe-poison ops
d7a63a0421d5 [DAGCombiner] `visitFREEZE()`: restore previous behaviour on no maybe-poison operands
550d93ab1d2e [RISCV] Combine comparison and logic ops
7b9b81a24582 [RISCV][test] Combine comparison and logic ops
a09e222fd5f2 [gn] port ba0ec6f15f55
d27386384a2a [clang] Remove deprecated ControlFlowContext::build()
03b7ee507562 [NFC][NVPTX] Remove dead override
281c2d49c929 Apply shortened printing/parsing form to linalg.reduce.
3a39b0ac1a72 [clang] Migrate away from a deprecated Clang CFG factory function
e1650c8d5291 [LV] Move exit cond simplification to separate transform.
07d9ab9aa5d2 Revert "[clang] Use a StringRef instead of a raw char pointer to store builtin and call information"
22bf4a7e89c0 [NFC][NVPTX] Remove dead comment and commented code
391cb541223b [mlir] Add option to limit number of pattern rewrites in CanonicalizerPass
4861a58769e8 [VE] Convert test to opaque pointers (NFC)
5ce4e9226410 [clang] Use a StringRef instead of a raw char pointer to store builtin and call information
b7b1e5c96fe0 [LV] Assert that the executed plan contains selected VF & UF (NFC).
32d7aae04fdb [clang] Fix a clang crash on invalid code in C++20 mode.
e0fa7c730d01 Remove empty header file.
ce5ef7d1d5dc [VE] Name instructions in test (NFC)
b7065a31b5e7 Revert "[clang] Use a StringRef instead of a raw char pointer to store builtin and call information"
719d98dfa841 [clang] Use a StringRef instead of a raw char pointer to store builtin and call information
a4e3457fb752 [examples] Direct HowToUseJIT readers to HowToUseLLJIT instead.
7d1ceb02d22d [Docs] Clarify typed pointers support timeline
11537c5fdac0 [LoopDeletion] Convert tests to opaque pointers (NFC)
c00ffbe02b22 [VectorCombine] Convert tests to opaque pointers (NFC)
580210a0c938 [SLP] Convert some tests to opaque pointers (NFC)
23abf9313860 [GVN] Convert some tests to opaque pointers (NFC)
c0429c60e916 [BDCE] Convert tests to opaque pointers (NFC)
4f4787e3f64c [Attributor] Convert some tests to opaque pointers (NFC)
e82dd5b37c7d [clang-tidy][NFC] Remove custom isInAnonymousNamespace matchers
bcbc6151640f [ArgPromotion] Convert tests to opaque pointers (NFC)
cdfb99b06995 [AggressiveInstCombine] Convert tests to opaque pointers (NFC)
50e6c306b1cb [MLIR][Arith] Remove unused assertions We shouldn't be checking things that are guaranteed by the op's verifier.
1cc48a76eaf1 [Support] Use inplace APInt operators in DivisionByConstantInfo. NFC
125ccd375147 [ASTMatchers] Add isInAnonymousNamespace narrowing matcher
68a888012b12 [X86] Add reduce_*_ep[i|u]8/16 series intrinsics.
c89db6ad391b [libc][obvious] Remove a spurious statement leftover from a previous change.
ae1507d3eafc [OpenMP] [OMPD] Enable OMPD Tests
1a6310bf87f6 [Support] Move some APInt declarations in DivisionByConstantInfo to their first assignment.
f11296019001 [libc][NFC] Use operator new and operator delete in POSIX file actions API.
00fd6958fb00 [MLIR][Arith] Canonicalize xor with ext
bff1f8c79bee [InstCombine] complete (X << Z) / (Y << Z) --> X / Y
0224bdce9263 [BOLT][TEST] Limit iterations in X86/exceptions-pic.test
ba0ec6f15f55 Add Soft/Hard RSS Limits to Scudo Standalone
ad1eb251d682 [scudo] Fix return type of GetRSS()
a59e96f1a164 [AVR] Select 16-bit LDS/STS for load/store on AVRTiny.
77249ea6bc66 [AVR] Support 16-bit LDS/STS on AVRTiny.
e0a66116fccc [libc++] Granularize <type_traits> includes in <compare>
c41d425030df [AVR][MC] Fix illegal operand forms.
006340baf753 [mlir][sparse] add missing dependent dialect.
3730f1342813 [AVR] Fix a bug in AsmPrinter when printing memory operands.
e7f21d750cc5 [NFC][Codegen][X86] Tests w/ final optimized IR of SROA-with-variably-indexed-loads (D140493)
a0a51a805fdb [ORC][ORC-RT] Add SimplePackedSerialization support for optionals.
988733c60037 [mlir][sparse] use sparse_tensor::StorageSpecifier to store dim/memSizes
0ebed862d821 [clang-format] Set requires expression params as not an expression
ba4caec64fec [clang-format][docs] Fix invalid CSS syntax in versionbadge
d6cd8d6b1987 [lld-macho] Use ld64's LC_LINKER_OPTIONS behavior by default
2e5989e8140d [lld-macho] Flip string deduplication default
85bb24ab5202 [NFC][SROA] Rewrite widen-load-of-small-alloca tests to just store result, not call some function
6fea27662dd2 [DAGCombiner] `visitFREEZE()`: be less greedy with replacing other uses of undef
f738ab9075f8 [DAGCombiner] `visitFREEZE()`: allow multiple maybe-poison operands for `BUILD_VECTOR`
1234754bbca7 [DAGCombine] `BUILD_VECTOR` can not create undef or poison
109fc156d49d [NFC][Codegen] Tests for `freeze` of `BUILD_VECTOR`
114cc45a095e [NFC][DAGCombiner] `visitFREEZE()`: use early return
34efb3c47cff [bazel] fix bazel file.
bab5d3641301 [gn build] Port d64d3c5a8f81
1a0453eb44cd [mlir][vector] Fix bug in extractOp folding
4eddbf9f10a6 std::sort: add BlockQuickSort partitioning algorithm for arithmetic types
083ddffe476b [mlir][sparse] introduce sparse_tensor::StorageSpecifierToLLVM pass
b49ee01fe288 [LowerExpectIntrinsic] Propagate branch weights through phi values when ExpectedValue is unlikely in LowerExpectIntrinsic
f9868aa7292a [libc][NFC] Use operator delete to cleanup a File object.
b27e0b2e6703 Revert "Emit unwind information in the .debug_frame section when the .cfi_sections .debug_frame directive is used."
d64d3c5a8f81 [RISCV] Add pass to remove W suffix from ADDIW and SLLIW to improve compressibility
947dfc95ca91 [libc++] Granularize <type_traits> includes in <utility>
2c5ffa179c9e SCCP: Add failing testcase with llvm.ssa.copy
ad6b5762b64f SCCP: Don't assert on constantexpr casts of function uses
616e0ad131ab [CSKY] Fix MachineFunctionInfo initialization after 69e75ae695d9ef1360a2a1fbefd6e0e0456c3f7b
9b050e5011e9 [clang] Remove redundant initialization of std::optional (NFC)
85e38d7cd670 [mlir][GPU] Add known_block_size and known_grid_size to gpu.func
520a63893e21 [gn build] Port 17ed8f29287b
17ed8f29287b [BOLT][AArch64] Handle adrp+ld64 linker relaxations
63173d11ecb5 [lld-macho] Fix assert when splitting section
49be68b8aa3a [mlir][sparse] make loop emitter API more concise.
70792cd4f837 [LangRef] Add description for nocallback attribute
b95689933f6d [Linker] Remove nocallback attribute while linking
f5700e7b6904 [DAGCombine][X86] Pull one-use `freeze` out of `extract_vector_elt` vector operand
2d756d25e688 [NFC][Codegen][X86] Add tests where we could improve `freeze` handling
46cd3127fe54 [Driver] Revert D139717 and add -Xparser/-Xcompiler instead
8109d5e911c4 [mlir][sparse] move loop boundary method to codegenenv
69243cdb926b Remove incorrectly implemented -mibt-seal
23bc8f730d99 [DAGCombiner] `visitFREEZE()`: allow, and update, other uses of maybe-poison operand
b25b6d4922cd [NFC][Codegen][X86] Add test for freeze with other uses of maybe-poison operand
a484c9bd2ea9 [libc][obvious] fix errno for 32 bit long test
81d1b61e900c [lldb] Fix a warning
c348abce68ac Revert D138179 "MIPS: fix build from IR files, nan2008 and FpAbi"
e0f5307f6382 Fix indentation in LangRef.rst
24e3086c89b6 Support: Fix broken C++ marker
3c7c696a521c [mlir] Fix a warning
d06308df8bb0 [libc] Handle allocation failures gracefully in FILE related API.
27839e1e171a [mlir] Fix warnings
8d3ab9dfc4d4 Properly support LLVM_ENABLE_LLD on Windows
5df34e971dd5 [VPlan] Add support for tracking UFs applicable to VPlan (NFC).
ac16ea89dbcf [SPARC] Fix SELECT_REG emission for f128s
513f094f623d [libc++][CI] Improves buildbot runner.
8861c6dfe002 [gn build] Port eb6e13cb3280
39f370aefd42 [libc] change str to int tests to be templated
49d4fee9940f [libc++][format] Removes test redundancy.
eb6e13cb3280 [libc++][format] Adds formatter for tuple and pair
384049a755fa [mlir][sparse] completed codegen environment privatization
bd2b4aeeaf0c [VPlan] Add unittest for printing plans with VFs and UFs (NFC).
c03fe1ebbd8e [mlir][spirv] Add StreamingInterfaceINTEL to SPIRVBase.td
1293e93ee3da [Sanitizer] Fix page alignment for mmap calls
7ef8f9c972bb [IR/MachineOutliner] Add a "nooutline" function attr and respect it
51126518261a [libc] add exponent format to printf
f85cc6009aa7 [lldb] Add LTO dependency to lldb test suite
52c44a441c25 AMDGPU: Modernize sqrt f64 test
5b97612a11e8 Add aligned_alloc to symbolizer symbols list.
eb93b8774e2c Support: Add polling option to sys::Wait
5da812461a53 AMDGPU: Update constant address spaces used in printf test
888228f2b045 AMDGPU: Use early continue to reduce indentation
d9f645fe5081 [mlir] Allow specifying benefit for C func ptr style patterns.
61b72f6abeb0 [AArch64] Add RSHRN and RSHRN2 patterns
63aa57dc57e1 Small fixes to creduce-clang-crash.py script.
f8077a1f0247 mlir/tblgen test: add a test for EnumAttr customAssemblyFormat
9faff9a09178 [GlobalISel][Legalizer] add minScalarIf action
d1d3005c9fe6 [AVR] Do not emit instructions invalid for attiny10
7e1e99381650 [AMDGPU] Remove permlane discard vdst_in optimization from isel
1211af761fb9 Apply clang-tidy fixes for llvm-else-after-return in TensorOps.cpp (NFC)
9f7de08ba6b5 Apply clang-tidy fixes for llvm-else-after-return in SparseVectorization.cpp (NFC)
bf5f05e3fe81 [SampleProfile] Regenerate test checks (NFC)
19e55791c4fa [Util] Regenerate test checks (NFC)
3f46fcac27cd [InstCombine] Regenerate test checks (NFC)
aee2c2306664 [mlir][linalg] Reuploading: add a shortened printing/parsing form for linalg.map and linalg.reduce.
eb6fbad711a2 [libc++] Use aligned_alloc instead of posix_memalign for C++17
659c512b0698 [SystemZ] Convert test to opaque pointers (NFC)
8e451cda388c [RISCV] Convert test to opaque pointers (NFC)
866c84a973d5 [RISCV] Convert some tests to opaque pointers (NFC)
38404df9d879 [clang][dataflow] Fix bug in handling of `return` statements.
8f111ecd75fc InstSimplify: Split isKnownNeverInfinity tests into separate file
876f3d6c91e4 ValueTracking: Add test for isKnownNeverInfinity for fptrunc
94a703ecdcf1 ValueTracking: Add test for fneg isKnownNeverNaN handling
f3700bdb7f00 [clang][dataflow] Account for global variables in constructor initializers.
0e8d4a6df959 [clang][dataflow] Simplify handling of nullopt-optionals.
61be26154924 MIR: Fix test error message
41e731f2a432 [mlir][vector] Add additional scalar vector transfer foldings
9e0311561c8e clang/HIP: Fix missing test for __frsqrt_rn
4794a168d4a4 [RISCV] Name instructions in tests (NFC)
3afe296c81b9 [test][lldb-vscode] Relax assertion to allow multiple compile units returned.
20d72c4917ce MIR: Don't assert if a virtual register uses a non-allocatable class
96296922b61f [VPlan] Move VF and UF string generation to getName() (NFC).
6157a0679fb9 [mlir][Tosa] Apply ClangTidy performance findings (NFC)
a2087a9c81c9 [NVPTX] Convert test to opaque pointers (NFC)
55935b809d4b [MIR] Convert tests to opaque pointers (NFC)
1c1755005e35 [CodeGen] Convert test to opaque pointers (NFC)
4086ea331cad clang/HIP: Fix broken implementations of __make_mantissa* functions
a9fe30a1f180 [BPF] Convert test to opaque pointers (NFC)
821c7be8e659 [AMDGPU] Simplify simplifyAMDGCNMemoryIntrinsicDemanded. NFC.
e726703c27c4 [Clang][LoongArch] Add intrinsic for rdtime_d, rdtimeh_w and rdtimel_w
aeb8f911b169 [Clang][LoongArch] Add intrinsic for asrtle, asrtgt, lddir, ldpte and cpucfg
0dc4dfabd748 [clang-format] Add InsertBraces to operator== in Format.h
fa641693c83f [AArch64][SVE] Remove dso_local and local_unnamed_addr from muladdsub.ll
4cafc3727b35 [clang-format] Add 'friend' to QualifierOrder
a107cf0c407f [AArch64][InstCombine] Fuse ADD+MUL and SUB+MUL AArch64 instrinsics
d0766c0861c6 [mlir][vector] Fold vector.extractelement(vector.broadcast)
15dd5ed96cf1 [X86] Support ANDNP combine through vector_shuffle
dd881c9dbf5d Revert "Revert "[DebugInfo] Correctly recognize bitfields when emitting dwarf""
f406db91f341 [bazel] Fix some --features=layering_check issues
7c93fde8d274 [mlir][llvm] Cleanup LLVM IR control flow import test (NFC).
6d5bb34fc532 [bazel] Make TargetParser depend on config to fix --features=layering_check
ae4da1f64e0f [RISCV] Add more abs+zext test cases. NFC
3b186db5a97c [clang][C++20] Add test for crash in NestedRequirement.
5370255ff18a [RISCV] Merge Masked and unMasked RVV manual codegen
8c0aa53b07ca Fix out-of-bound access in TransformNestedRequirement.
9e0d8ab8227d [AMDGPU][Test] Update perfhint test to use opaque pointers
2600a58931d8 Linker: Disallow linking appending globals with different addrspaces
31ec840c6168 [RISCV][NFC] Use Arrayref in TargetLowering functions.
946831ea2d77 [NFC] Rename Function::isDebugInfoForProfiling to shouldEmit[...]
b9a9b0fb87af [M68k] Fix MachineFunctionInfo initialization after 69e75ae695d9ef1360a2a1fbefd6e0e0456c3f7b
e89881efc71f [ARC][M68k] Fix INITIALIZE_PASS after D140364
4463badf46b4 AMDGPU: Use DenormalMode type in FP mode tracking
35762d073910 [bazel] fix bazel file
08220df62a19 [LoongArch] Fix build after createMachineFunctionInfo change c774fd55008dbd2be51bc25f4c6f534978e73d95
e5354a2bfa92 [OpenMP][libomptarget] Centralize host pinned buffers map to NextGen's PluginInterface
cc50625fed26 [mlir] Gate test checking statistics on their availability.
a487e0ffde98 [NFC][OpenMP][libomptarget] Return null if error detected during allocation in NextGen AMDGPU
b57acb9a405c Revert "Revert "[mlir][py] Enable building ops with raw inputs""
02f4cfa33d3d [mlir] Fix a warning
967ba1a86d4f [NFC][SROA] More tests for variable indexed promotion
690f05e58dbe [mlir] Fix a warning
8aba17637788 [libc][obvious] fix bazel after removing vector
31fcabca41ef [gn build] Port ec11388b3342
d4139387804a [gn] another fixup for 47df55f3ef5 -- LoongArch is experimental, not RISCV
39b92b32a1cd [gn] fixup for 47df55f3ef5
47df55f3ef57 [gn] Don't include RISCV in targets build for 'all'
589421af1714 [NFC] test commit
4792ba5971b6 [LiveDebugValues] Remove LexicalScope param from VarLoc (NFC)
437346abe18e clang: Add __builtin_elementwise canonicalize and copysign
1f47fee2948e Revert "[mlir][py] Enable building ops with raw inputs"
4d255f9e3374 [NFC][SROA] More tests for variable indexed promotion
b494f67f6796 [clangd] Fix crashing race in ClangdServer shutdown with stdlib indexing
aa288fd9847c [lld-macho] Emit map file entries for more synthetic sections
c774fd55008d LoongArch: Update for MachineFunctionInfo construction change
eb7c515d664c [NFC][SROA] More tests for promotion with variable index
a84064bcda1a [LV] Add createTripCountSCEV helper (NFC).
870808989676 [SPIR-V] Add atomic_flag builtin implementation
2cb393590ea5 Reland "[NFC][SROA] `speculateSelectInstLoads()`: play nice with typed pointers for now"
19a004b46882 [llvm][SelectionDAGISel] support -{start|stop}-{before|after}= for remaining targets
84038cf914f6 [lld][COFF] Fix lld-link crash when several .obj files built with /Zi refer to a .pdb file that failed to load
b5415f301586 [libc][Obvious] Fix an off-by-one error introduced by eb9cc253cb048b6dbf2fcd73ac55b5eda0184ed3.
f35d482ffdaf [llvm][AArch64ISelDAGToDAG] support -{start|stop}-{before|after}=aarch64-isel
eb9cc253cb04 [libc] Gracefully handle allocation failures around BlockStore.
c2f17bfbff80 [libc][NFC] Use the custom operator new from strndup.
9b227cb1f536 [RISCV] Check the sign bits of the input of RISCVISD::ABSW in computeNumSignBitsForTargetNode.
9fdf21f3d07d [RISCV] Add test cases for i8/i16 abs followed by zext.
dbc92f598ed0 sort some method declarations. NFC
cd7428cac7b5 [NFC][SROA] Add tests for alloca promotion in presence of variably-indexed load
b861507912d0 [DIrectX backend] emit metadata for entry.
383329b3a888 [mlir] Clear running passes in crashreporter
62a410f65100 [Flang] Reword the overview document
6c3a2902f1f8 Headers: further refine the `stdatomic.h` MSVC inclusion
c847e22db33e [AArch64] Guard {vmull_p64, vmull_high_p64} with 'aes' target guard.
132546d9397c [RISCV] Add DAG combine to fold (select C, (add X, Y), Y) -> (add (select C, X, 0), Y).
475cc44a2cba [Clang] Modify sanity check assert in AggExprEmitter::VisitInitListExpr to cover anonymous struct in a union GNU extension
5bcd98013782 [BOLT][NFC] Make DWOId std::optional
51315d8deebb [RISCV] Add more test cases to select.ll. NFC
a3e360e3a9bc [ARC] Fix build after createMachineFunctionInfo change 69e75ae695d9ef1360a2a1fbefd6e0e0456c3f7b
440d71f7b72a [AArch64] Additional RSHRN pattern tests. NFC
ec11388b3342 [libc++] Rename __tuple to __tuple_dir to avoid file collision
3781b7905d8d [mlir][py] Enable building ops with raw inputs
2b60ed405b81 [flang] Use Assign() runtime for copy-in/copy-out.
829733af4ac2 [mlir] Fix SameOperandsAndResultType to check encoding.
9c58d10c7da8 mlir/LinalgOps: fix name of generated .yamlgen in comments
d4959b5a4bb8 [Driver] Fix tests not to fail randomly on Windows
c0b775a5b506 Revert "BEGIN_PUBLIC"
eca9196dc882 [libc++] Add FreeBSD ABI list
0df9a72f283a [NFC][libc++][chrono] Improves test coverage.
2b1d45b227bd [NFC] Add --check-globals to an autogen test cmdline
088b5d1ad3a3 [docs] Update an example
2549b8bdae67 [docs] Add tips on writing test constraints
2b6ce25a2a56 [libc++] Adds __cpp_lib_constexpr_algorithms to utility.
44ea075d9ce3 [libc++][doc] Adds Kona plenary papers and issues.
c77a91bb7ba7 [clang] Remove overly restrictive aggregate paren init logic
0bca44680ab9 [InstCombine] Bubble vector.reverse of binop operands to their result.
87c494b89753 [InstCombine] Bubble vector.reverse of select operands to their result.
362c52ad5a90 [InstCombine] Bubble vector.reverse of compare operands to their result.
d8fb46ee5555 llvm-reduce: Remove test dependence on registered targets
69e75ae695d9 CodeGen: Don't lazily construct MachineFunctionInfo
7a7e9109a2d6 [PowerPC] Implement P10 Byte Reverse Insructions
3e65ad7482e9 [AArch64] Combine Trunc(DUP) -> DUP
79068275e7c9 [InstCombine] Recursively replace select value equivalence
561ee10a258b [InstCombine] Combine ZExt (B - A) + ZExt(A) to ZExt(B)
7d8528dbf290 [LV] Move SCEV caching workaround to executePlan (NFC).
e536e2ca3536 [InstCombine] Add additional tests for select value equivalence fold (NFC)
6198f3abf56f [libc++] Also install libclang in the Docker image
95570af6fafe SCCPSolver: Remove unnecessary set empty check
fd0ca2c4e935 Revert "Reland "[pgo] Avoid introducing relocations by using private alias""
a80edb7fc96c [AMDGPU][GlobalISel] Fix mapping G_FREEZE
6d877e6717ee [AArch64][SVE][CodeGen] Prefer ld1r* over indexed-load when consumed by a splat
2e972ea0567a [SLP]Integrate looking through shuffles logic into ShuffleInstructionBuilder.
566e34829fb6 [lit] Document the 'target=<triple>' feature
f69ac9a22dca [LV] Support widened induction variables in epilogue vectorization.
84733b0f179e [JT] check xor operand is exactly the same in processBranchOnXOR
17f804ef4b8f [hwasan] Convert tests to check 'target=...'
a6d6d40d8bd0 BEGIN_PUBLIC Add a shortened printing/parsing form for linalg.map and linalg.reduce. END_PUBLIC
8e6006129013 [compiler-rt] Simplify lit test thumb checks
2bb59549e11f clang: Respect function address space for __builtin_function_start
719123230577 clang: Fix another assert from not respecting function address spaces
947905a1c584 clang: Use correct address space for redeclared functions
d58f67078860 [LV] Add test for #59459.
c0f17a5ee897 [libcxxabi] Use 'target=' consistently
016785d9316d [clang/xray] Convert tests to check 'target=...'
d42cb02448bb [mlir] Make `LocalAliasAnalysis` extesible
11e050059849 [DWARFv4][DWARFv5][DWARFLinker] support debug_macinfo/debug_macro tables.
b2638a7a34d9 [clang] Do not extend i8 return values to i16 on AVR.
80ec3f027dab [X86] combine-and.ll - add 256 and 512 bit test coverage for scalar broadcast
5f6d5ca0f80c [mlir][bufferize] Fix tensor copy insertion for dynamic tensors
701890164d56 [ARM] Convert some tests to opaque pointers (NFC)
87679b12c1b3 [ARM] Regenerate test checks (NFC)
50ddc8cca631 [AArch64] GlobalIsel codegen for gpr CTZ
3a3f725a3cdc [RISCV] Omit SRA in case of setlt or setge with zero constant
ea21fa3a5977 [Precommit][RISCV] Test folding for RISCVISD::BR_CC node
eb7b8e3e2aab [AAch64] Optimize muls with operands having enough zero bits.
9a7286b61f61 [SCEV] Help getLoopInvariantExitCondDuringFirstIterations deal with complex `umin` exit counts. PR59615
62c605771a30 [lld][ARM] support absolute thunks for Armv4T Thumb and interworking
a3028239a751 Revert "[AMDGPU][SILowerSGPRSpills] Spill SGPRs to virtual VGPRs"
e73b35699be0 [SelectionDAG] Fix EmitCopyFromReg for cloned nodes
087cd5e5d167 [SelectionDAG] Precommit EmitCopyFromReg test for D140417
673ce562910a [cmake] Copy llvm-driver-template.cpp.in into build dir as well
e467a4294382 [Attributor] potential constant values for PHI and Load
108b08f2a912 [mlir] Add RuntimeVerifiableOpInterface and transform
b8e1071a2903 [AMDGPU][GFX11][DOC][NFC] Add GFX11 assembler syntax description
cce3cd203e66 [AMDGPU][MC][NFC] MUBUF/MTBUF code cleanup
1118ee04fc7c [Clang][CGDebugInfo][ObjC] Mark objc bitfields with the DIFlagBitfield flag
13417808474c [clang][AST] Compare UnresolvedLookupExpr in structural equivalence.
180397cdded6 [RISCV] Enable the LocalStackSlotAllocation pass support.
01303f6d1bba [clang-tidy] Fix crash in bugprone-suspicious-realloc-usage.
3f811b26efd0 [DAGCombine] Fix mistake in a comment. NFC
b6b30cb291ff [RISCV] Simplify some code in SELECT_CC combine. NFC
474c8fe9b73c [Test] Precommit test for PR59615
bf88ba0f8718 Revert "[NFC][SROA] `speculateSelectInstLoads()`: play nice with typed pointers for now"
05f343fa8afe [CSKY] Fix compiling error due to the interface change
e746a9a600a0 [Clang] Emit "min-legal-vector-width" attribute for X86 only
eeb8de936303 [X86] Replace getOperand calls with an existing variable. NFC
4109276fb46a Replace void* with std::byte* in AsyncRuntime
6761ba7639a4 [clangd] Avoid triggering linkage computation for decl with unstable linkage in SymbolRelevanceSignals::computeASTSignals()
f8a05727b030 [RISCV][NFC] Add policy operand for RISCVISD::VSLIDEUP_VL and RISCVISD::VSLIDEDOWN_VL.
88793a0478b4 [RISCV] Add XVentanaCondOps to RISCVSExtWRemoval.
7da51a7ed35c Reference: not-shift.ll before new peepholes.
b55b4150e9a2 Revert "llvm-reduce: Try to fix test on windows"
9f27f4536e19 [NFC][SROA] `speculateSelectInstLoads()`: play nice with typed pointers for now
1cbcd8ad2071 [X86] avx512fp16: add missing instruction selection patterns for "i16" `VMOVSH`
b2abbd1d0e3b [llvm-extract] Don't forget to link to Analysis component
3b0b0965c4eb llvm-reduce: Try to fix test on windows
638b25711540 Fix test added in 95abdeb to set environment variables in a way that works on both Windows and linux.
7e1eac511658 [mlir][sparse] add initialize() API to LoopEmitter to support post-constructor initialization
744486ec2127 Revert "[AArch64] FMV support and necessary target features dependencies."
74dd8c1bf80b Revert "[AArch64][NFC] Fix aarch64 target features test."
df2bdb7043df Revert "[AArch64][compiler-rt] Fix HWCAP_CPUID not defined in some cases."
fbe611309edf [mlir][sparse] refactored codegen environment into its own file
52aab0e4b4a5 [clang] Re-apply change to avoid passing -stdlib=libc++ spuriously to CC1 on Darwin
8840891debf1 [mlir][sparse] introduce LevelFormat which do not encoding level properties of a sparse tensor level.
03aa6b9197a5 [NFC][llvm-exegesis] Ensure that target options show up in --help
8fd62e70cde1 [-Wunsafe-buffer-usage] Suppress an assertion for visiting VarDecl twice.
95abdeba6152 llvm-reduce: Disable crash reports, symbolization and core dumps
be9d3edee80a [BOLT][NFC] Remove unused PrintInstructions argument
c08fad8193d3 [llvm] Remove redundant initialization of std::optional (NFC)
77c90c8ce0fe [llvm] Use std::optional instead of Optional
0b401ba71325 [dsymutil] Require x86 backend for odr-two-units-in-single-file.test
e5ae5cec060f [libc][Obvious] Remove the unused cpp::vector class.
42476dea671a [ADT] Fix an unused variable warning
a5b56313dd8c [llvm-exegesis] `AliasingConfigurations`: pay attention to forbidden registers
bf94eac6a3f7 [AArch64][NFC] Fix aarch64 target features test.
be8fd64091f9 [llvm][X86ISelDAGToDAG] support -{start|stop}-{before|after}=x86-isel
8ab032fbe5e4 InstCombine: Fold fneg (copysign x, y) -> copysign x, (fneg y)
ad99774a5f1b [llvm][PassSupport] don't require passes to be default constructible
d3663045fc5c [bazel] Add missing Passes dependency to llvm-extract
d43314748c55 [llvm-extract] Add missing IRPrinter dependency
bfde3bdd2609 [PowerPC][NFC] Update p10 scheduler
2118b9d39b91 [llvm-extract] Use new pass manager instead of legacy pass manager
1b79bed8f532 [dsymutil] Verify the keep chain when asserts are enabled
c9cbe6937b1f [dsymutil] Track uncloned references in the DIEInfo.
66ba7c32add0 [libc++] Granularize <type_traits> includes in <concepts>
011cbb3912c7 [RISCV] Move -riscv-v-vector-bits-max/min options to RISCVTargetMachine.
9b2fecec406d [BuildLibCalls][RISCV] Sign extend return value of bcmp on riscv64.
3beb05417086 [libc] Add a baremetal config.
7ae3db66e8a3 [OpenMP] Fix leftover use of removed function
4e32d5cedf19 [OpenMP] Disable libomptarget integration on unsupported platforms
3d2aa5473ca5 [OpenMP][NFC] Fix message to recommend C++17 instead of C++14
bb4c6e7a0643 [OpenMP] Remove folding logic for removed runtime function
ae20ff752621 [libc] Add check for locally installed GPUs
7f9dc7bf8535 [RISCV] Add more XVentanaCondOps tests with icmp conditions. NFC
98f93e3b726a [mlir][sparse] factorized merger/emitter/codegen into single environment
9f6f9488dd05 Revert "[Bazel] Remove define HAVE_LSEEK64 to match cmake config."
a43f36142c50 [AArch64][compiler-rt] Fix HWCAP_CPUID not defined in some cases.
740db97ad161 [libc][NFC] Simplify how the definiton of NULL macro is added to string.h.
c2a5f156d297 [bazel] add TargetParser
5e750b86caf1 [libc] Simplify generation of errno.h.
35887eab1974 [CMake] Depend on TargetParser after f09cf34d00625e57dea5317a3ac0412c07292148
f1990feb35e8 [libc] add fuzz target for strtointeger functions
4c13af22b4d4 [TEST] Pre-commit test for GVN PRE load
4e018c7cbb5d Revert "[gn] port ae3e228af7"
9cd6fbee7ed8 Fix module build after TargetParser
bb22e3e8c006 [bazel] Port TargetParser f09cf34d00625e57dea5317a3ac0412c07292148
2c52c811eef6 ValueTracking: Document some difficult isKnownNeverInfinity cases
ce4d6717f85e [libc][NFC] make atoi undefined cases match std
407b18820c40 ValueTracking: Add tests for isKnownNeverInfinity for llvm.log*
2bf17cc0482c ValueTracking: Teach isKnownNeverInfinity about llvm.sin/llvm.cos
6d125fee8cf5 ValueTracking: Add isKnownNeverInfinity tests for sin/cos
e9babe757160 [OpenMP] Clang Support for taskwait nowait clause
d483d488ca5d [lldb] Prevent false positives with simple template names in SymbolFileDWARF::FindTypes
2cf550a80a01 Add missing textual header to module map
9a214756517f ValueTracking: Teach isKnownNeverInfinity about sqrt
b5963ea088c2 ValueTracking: Add base test for isKnownNeverInfinity of sqrt
49f80a5d34b8 llvm-reduce: Fix build
6bdf378dcd34 Fix modules build after D137838
a685bb8e333e [DebugInfo] Unify location selection logic for values in InstrRefBasedImpl
41dd02e85751 ValueTracking: Teach isKnownNeverInfinity about min/max functions
ef550ce36103 ValueTracking: Add tests for isKnownNeverInfinity for min/max intrinsics
f31a36e7767e Revert D139752 "cmake: Enable 64bit off_t on 32bit glibc systems"
4e37d00b9dcd ValueTracking: Teach isKnownNeverInfinity about rounding intrinsics
2bfe62ed6a52 ValueTracking: Add tests for isKnownNeverInfinity for rounding intrinsics
e49f8eef41d5 [NFC][llvm-reduce] Do show `-ir-passes` in help
5a1525c57635 [scudo][standalone] Precommit pages
6a817d7bdbc5 [CMake] add_definitions => add_compile_definitions after D139752
a7b898b49abb [InstCombine] Disallow constant expressions in `not` canonicalization
aa34a9d108bd Add TargetExtTyID to switch statements in Hexagon and DXIL backend code.
49dd02bd0819 Revert "[clang] Don't spuriously pass -stdlib=libc++ to CC1 on Darwin"
48a362929916 [RISCV] Use default attributes for intrinsics
e6b02214c68d [IR] Add a target extension type to LLVM.
e43924a75145 [AArch64] FMV support and necessary target features dependencies.
daa022ca5707 Enable roundeven.
d73383c145ea Revert "[InstCombine] Fold nested selects"
3a8e009f97d2 Revert "Reland "[SimplifyCFG] `FoldBranchToCommonDest()`: deal with mismatched IV's in PHI's in common successor block""
015f8cd78ec6 [xray] Convert tests to check 'target=...'
752819e813d1 [AArch64][ARM] Remove load from dup and vmul tests. NFC
e51b7bff192f [InstCombine] Fix inversion of constants
306adcc852c3 [RISCV] Reduce duplicated code in RISCVMergeBaseOffsetOpt::detectFoldable. NFC
4a2e7da3ce3e [RISCV] Teach RISCVMergeBaseOffset to handle constant pools.
2aa998d22fe0 [gn] Add explicit deps on TargetParser
69186c52400c [libc][llvm] Forward `LIBC_` options as well in a runtime build
aa3bd6521249 [gn] run `gn format` on new build file
347d2be7bef3 [AArch64] Add Neon int instructions to isAssociativeAndCommutative
673b4ad64577 [AArch64] Add FP16 instructions to isAssociativeAndCommutative
4ac51dd53d93 [gn build] Port core part of f09cf34d0062
0de9fd1c2790 [libc++] accept ELF Tool Chain readelf format in tooling
454997d39659 [AAch64] Optimize muls with operands having enough zero bits.
ebe530ef7a49 [CodeGen][AArch64] Fix AArch64ABIInfo::EmitAAPCSVAArg crash with empty record type in variadic arg
3c0c24e0c1d3 [AArch64] Combine to UMULL if top bits are known zero
ecaab107e4d0 [compiler-rt] Add TargetParser to symbolizer
2d742ef7a76b [PhaseOrdering] Add test for vector promotion regression (NFC)
e16b4f5b16a3 [X86] Fix SLM uops/resources counts for CMPXCHG instructions
93129ca8d1cf [flang] Do not convey captured globals through host link
16c4c4e04c14 [Examples] Fix TargetParser Dependency
bb7940e25f6c [llvm] Make llvm::Any similar to std::any
741396af16d1 [ADT] Correct Comment in Triple.h
6b76c4eafde8 [mlir][linalg] Bring populateFoldUnitExtentDimsVia(Reshapes/Slices)Patterns in sync
def915c39cc4 [DebugInfo] Variables with only empty values emitting when one is variadic
9aa5de974629 [LoongArch] Break MUL into SLLI and SUB or ADD
4a2807d24849 [AArch64] Convert test to opaque pointers (NFC)
2a261a7b5764 [libc] Add Missing TargetParser Dependency
e1323aa1d899 [AArch64] Convert some tests to opaque pointers (NFC)
138a954519a7 [AArch64] Convert test to opaque pointers (NFC)
1ae618d066da [AArch64] Name instructions in test (NFC)
5ee13e6c6527 [AMDGPU] Wide multiplies tests for D140208
f09cf34d0062 [Support] Move TargetParsers to new component
57aac3d312a6 [AArch64] Regenerate test checks (NFC)
d9daee5a6698 [AMDGPU][DOC][NFC] Update assembler syntax description
ff302f850242 [AArch64] Convert some tests to opaque pointers (NFC)
156531728772 Revert D139181 "[lld][Alignment][NFC] Use Align instead of log2 of alignment in Wasm Sections"
3e2a6d7f0317 [llvm][cmake] Fix add_subdirectory build in multi-config
1a24bbeefd2a Revert "[clang][NFC] Clean up createDefaultOutputFile()"
1953c7e03b08 [NFC][RISCV] Extract utility to calculate value through MajorVersion and MinorVersion
d20101db4894 [clang][NFC] Clean up createDefaultOutputFile()
142aa1bdd1dd [Support] Move Target/CPU Printing out of CommandLine
b76cc30e1585 [include-cleaner] Respect IWYU pragmas during analyze
0d4c6506100b [RISCV] Refactor RVV Policy by structure
74cca964a653 Pre-commit more cases for PowerPC is_fpclass
88419a30a02d [LICM] Allow load-only scalar promotion in the presence of aliasing loads
301f3da51624 [CLANG] Fix typo in test/CodeGen/c-strings.c
ad3996c1fcef Fix an unused-variable warning in release build, NFC
e8bcc37fff5b mlir/{SPIRV,Bufferization}: use std::optional in .td files (NFC)
d0018c959a30 [flang] Finish substring lowering
5bc703f75557 [AMDGPU] Replace getPhysRegClass with getPhysRegBaseClass
d393d0d24239 [TableGen] Emit table mapping physical registers to base classes
e4377cdde60b [UniformityAnalysis][NFC] Make checks independent of order using CHECK-DAG.
36179ec2187a [RISCV] Replace i64:$r in tablegen patterns with GPR:$r. NFC
b6e344ce91c8 [RISCV] Add Predicates to the XVentanaCondOps isel patterns.
90cb5f2fc8dc [RISCV] Add +xventanacondops command line to select-binop-identity.ll. NFC
aa4252ec6f3b [RISCV] Add zeroext attribute to i1 arguments in xventanacondops.ll. NFC
e3d9a448c57c [OpenMP] Account for dynamic shared memory in the AMDGPU nextgen plugin
fb2c42df41cb [OpenMP] Improve AMDGPU Plugin
ab17a08d0f6f [fuchsia] Tune PrimaryGroupSizeLog to reduce fragmentation.
4e0f464ce2d9 Reapply "[OpenMP][FIX] Restrict more unsound assmptions about threading"
0dc4bdd88877 GlobalISel: Enable CSE of G_SELECT
d5d14992d015 [gn build] Port 475ce4c200ca
475ce4c200ca RFC: Uniformity Analysis for Irreducible Control Flow
3ebc6bee6b23 [mlir][tensor][linalg] Add a pattern that generalizes tensor.unpack op.
aee1adedc8a7 [PowerPC][NFC] add explicit check for ctr loop pseudo expansion.
f74324a1f8a4 [PowerPC] don't generate hardware loop.
5184aaf6d3fe [PowerPC][NFC] reuse a case for checking hardware loop intrinsic input
d4f3d8212a06 [OpenMP][FIX] Ensure to inline `ompx::` functions after the rename in D140334
4f9c10eb48a3 [libc] Add support for standalone cross compilation of libc.
ee3d9ee49c2e [OpenMP] Change the nextgen plugin kernel thread count scheme as old plugins'
21c3883cf7e6 [gn build] Port 2916b9918275
3a5426f57243 Revert "LTO: always parse modules in opaque pointer mode."
2916b9918275 [ADT] Alias llvm::Optional to std::optional
f36177716804 [NFC] use Optional instead of separate bool
854c10f8d185 [Clang] Prepare for llvm::Optional becoming std::optional.
eddb7280462c [NFC] use bitwise or instead of addition
f1dcb9c36fe4 [SDAG] neg x with only low bit demanded is x
bf6d7ca9870b [ORC] Add JITDylib argument to ResourceManager notify-removing/transferring ops.
1a22f1b64679 [ORC] Add withResourceKeyDo method to ResourceTracker.
77197b56512d [OpenMP] Export `ompx::` symbols from the device runtime
2b5a99b3d9bf [OpenMP] Rename the `_OMP` namespace in the device runtime to `ompx`
a1a72b9d6d23 Drop unused forward declarations of llvm::Optional. NFC.
2233c4dc706f [mlir] Add operator!= to WalkResult, for completeness.
1a151fdc011d [mlir][linalg] Downscale 2D pooling with unit dimensions for height to 1D pooling
66890ce0b3d3 [OpenMP][NFC] Cleanup clause boilerplate
828b1c55cb7f [RISCV] Match neg (and x, 1) to two shifts to improve codesize
30199d11d274 [mlir] Drop Optional::value() references from tblgen files
2e1caa470bfc [mlir][sparse] minor merger code cleanup
34f220ae3257 Fix gcc 7.5 build break after TypeSize ctors became constexpr
6540f32db09c [clang] Don't spuriously pass -stdlib=libc++ to CC1 on Darwin
4b2cf982cc51 [clangd] Support type hints for `decltype(expr)`
d2e4aaf6ac3b [clang][dataflow][NFC] Fix comments related to widening.
d81df21421b7 [AArch64] Add additional umull tests cases. NFC
c29d86783342 [NFC] fix some clang-tidy warnings for hwasan pass
c6bbf05a0279 [LV] Convert some tests to use opaque pointers (NFC).
cf8d8a33c615 [LV] Convert some tests to use opaque pointers (NFC).
4293af5ebce1 [libc] Fix full build check for the GPU build
41b45ce656f3 [LV] Remove unused AAResults argument (NFC).
a7cb02d9a80f [mlir][AMDGPU] Make header build standalone. NFC.
e6e4362901ae [ubsan] Convert tests to check 'target=...'
ee1d000d4332 Reapply "[Attributor][FIX] Allow negative offsets for ranges"
fbe3f89bcf54 [tsan] Convert tests to check 'target=...'
20bdb4514eb1 [FileCheck] Remove the last llvm::Optional
b3ce87285186 Make evaluation of nested requirement consistent with requires expr.
81616561c1b3 HIP: Directly call fabs builtins
42d3f326d5d8 Revert "[AIX][BigArchive] Treat the archive is empty if the first child member offset is zero"
975fa725063f [sanitizer-common] Convert tests to check 'target=...'
683451bce3d6 [lit] Fix a few issues in relative_lines.py
9b92f70d4758 Revert "Reland "[TargetLowering] Teach DemandedBits about VSCALE""
8a7ea764b258 [include-cleaner] Base-type usage from member exprs is implicit.
c42e50fede53 Reland "[pgo] Avoid introducing relocations by using private alias"
b0020f423feb [SPIR-V] Support memory(...) function attributes
3a26a650821d [SPIR-V] Disable MachineLateInstrsCleanup pass
e5abaf8decf2 [X86] Fix SLM uops counts for WriteBitTestSetRegRMW instructions
8d681955b876 [libc][gpu][NFC] Move CMake logic to prepare GPU build to a separate file.
6a907a41f46e [RISCV] Add codegen support for RISCV XVentanaCondOps Extension
1d05c525db4f Fix: [DebugInfo] Add function to test debug values for equivalence
0de16fafa571 mlir/DialectConversion: use std::optional (NFC)
2f6439bcf9bd [profile] Convert tests to check 'target=...'
6d169089f64c [DebugInfo] Add function to test debug values for equivalence
ecfed0ab3413 Reapply "GlobalISel: Make LLT constructors constexpr"
6161a8dd5c5a DAG: Pull fneg out of select feeding fadd into fsub
a20503caa101 AMDGPU: Add regression tests for fmin/fmax legacy matching
95b27b2a1e0e [llvm][ADT] Fix Any with msvc and lto
12aef5df0c7e [LAA] Convert test to opaque pointers (NFC)
0d6d05bb7628 [AArch64] Add alias predicate-as-counter register for PFALSE
c60e67b1f9df AMDGPU: Add more fneg combine tests
a18cf8d14f55 [clang][dataflow] Remove stray lines from `Environment::join`
ddfc8bfe07fa ARM: Add baseline tests for fadd with select combine
bf452f9b347a [clang-tidy][NFC] Replace custom isStatic matcher with the existing isStaticStorageClass
f7db73aba168 [gn build] Port ca0f4e193b05
8c3a8359906c [NFC][llvm-exegesis] Try to fix GCC7 build
d73cfc6710c2 [AArch64] Add missing v8.8a Non-maskable Interrupts feature
f516e9171564 [AArch64] Add new v9.4-A PM pstate system register
bef2bb34bfad [flang] Lowering and runtime support for F08 transformational intrinsics: BESSEL_JN and BESSEL_YN
05b060b0b07b [LoopPeel] Expose ValueMap of last peeled iteration. NFC
ca0f4e193b05 Support: Make TypeSize constructors constexpr
02012a78b8e7 [msan] Convert tests to check 'target=...'
7a3682f6667a AMDGPU: Convert a few more special case tests to opaque pointers
262c2c0fd2d1 AMDGPU: Update some tests to use opaque pointers
04bd576f8907 AMDGPU: Convert some amdgpu-codegenprepare tests to opaque pointers
0773a5cbe860 [lsan] Convert tests to check 'target=...'
c49e0840fced [BPFAbstractMemberAccess] Use WeakTrackingVH for Base
81c3739156fe [include-cleaner] Use expansion locations for macros.
e9972a7113ed [NFC][llvm-exegesis] Try to fix GCC7 build
1dee7f9571de [SeparateConstOffsetFromGEP] Remove TypeSize error when collecting constant indices.
ce096b2207d9 AMDGPU: Convert some tests to opaque pointers
b5c809acd34c Fix tests for commit 658ed9547cdd6657895339a6c390c31aa77a5698.
e95a3cc5febc [BPF] Restore failing offset-reloc-cast-struct tests (NFC)
cf9b25e0adc4 [lit] Script to automate use of %(line-n). Use in CodeComplete tests.
8e975517bce1 [SystemZ] Fix test (NFC)
effde7f43e26 InstCombine: Match pattern that appears in clang's __builtin_isnormal
ea067b70ea7a InstCombine: Add baseline tests for and (fcmp ord x), (fcmp u* x)
0e545816a9e5 [include-cleaner] Handle dependent type members in AST.
109632e9cc8a [gn build] Port
07ff3c5ccce6 Fix abs labs and llabs to work in C code.
b421125524a5 InstCombine: Add baseline test for pattern in clang's isnormal
ec87b7231586 [InstCombine][NFC] Add tests of combining ZExt(B-A) + ZExt(A) to ZExt(B)
658ed9547cdd Fix host call to nohost function with host variant.
e544f8b3f69e [XCore] Convert some tests to opaque pointers (NFC)
0c5b0b50c22d [X86] Convert some tests to opaque pointers (NFC)
cdd685e17c91 [WinEH] Convert some tests to opaque pointers (NFC)
73856247eef3 [WebAssembly] Convert some tests to opaque pointers (NFC)
b006b60dc993 [VE] Convert some tests to opaque pointers (NFC)
e6bf3fa05b37 [Thumb] Convert tests to opaque pointers (NFC)
b5b663aac174 [Thumb2] Convert some tests to opaque pointers (NFC)
53d0606eb62a [SystemZ] Convert test to opaque pointers (NFC)
1456b6868680 [RISCV] Convert some tests to opaque pointers (NFC)
705029ace883 [PowerPC] Convert some tests to opaque pointers (NFC)
9b81548a6847 [NVPTX] Convert some tests to opaque pointers (NFC)
8663926a5446 [Mips] Convert some tests to opaque pointers (NFC)
376ab5f413ae [MIR] Convert some tests to opaque pointers (NFC)
a96f691985c8 [Hexagon] Convert some tests to opaque pointers (NFC)
0e8bd5a44a1b [CodeGen] Convert some tests to opaque pointers (NFC)
f61a08b67f5c [analyzer] Fix crash inside RangeConstraintManager.cpp introduced by D112621
8a3efcd40b48 [ValueTracking] Consider single poison operands in propgatesPoison.
60228733726e [BPF] Convert some tests to opaque pointers (NFC)
bed1c7f061aa [ARM] Convert some tests to opaque pointers (NFC)
bdf2fbba9cee [AMDGPU] Convert some tests to opaque pointers (NFC)
85dada81e318 [AMDGPU][CodeGen] Support raw format TFE buffer loads other than byte, short and d16 ones.
5ddce70ef0e5 [AArch64] Convert some tests to opaque pointers (NFC)
cb7ae7716da9 [mlir][Bazel] Add ModuleImport sources to FromLLVMIRTranslation target.
c39c2cc9541a [X86] Fix SLM uops counts for AES instructions
e7bd805805e4 [X86] Add default LoadUOps argument to Intel models WriteResPair macro
fc61400cb812 [flang] Fix llvm::Optional warning caused by D140220
8ef5da701003 [WebAssembly] Fix crash when selecting 64 bit lane extract operand
45067d1a74c8 [Bitcode] Convert tests to opaque pointers (NFC)
9dbf362556fe [mlir][llvm] Move LLVM IR import into separate file (NFC).
8febe6785145 [flang] Lower statement function references in HLFIR
071c62c5d3ed [lldb] Modernize sprintf in FormatEntity.cpp
46200ded96dc [MLIR][Bufferization] Remove extra trailing spaces (NFC)
2ec98ffbf121 [mlir][vector] Add scalar vector xfer to memref patterns
a583616918ec [mlir][vector] Fix error handling in VectorizationState::initState
7ccbb4dff10e [mlir][Bazel] Add missing dependency to TensorDialect.
8e029d9e3509 [CLANG] XFAIL c-strings.c & volatile-1.c AArch64/Windows
4299be1a087e [mlir] optionally allow repeated handles in transform dialect
58e9cc13e24f Revert "[lldb] Remove redundant .c_str() and .get() calls"
0fe37a75a50b [mlir] Apply ClangTidy readability finding.
8aa86ac3c4bf [flang] Add hlfir.set_length operation
a1fae71f8599 [flang][NFC] move getIntIfConstant into FIROpsSupport.h
9d3f9adf0482 [Examples] Fix build (NFC)
8551563c0d77 [include-cleaner] Fix a missing review comment.
e7d0cc76d7f0 [MLIR][Bufferization] Introduce `EmptyTensorToAllocTensorOp`
5d65f8a7931c [Bazel] Remove define HAVE_LSEEK64 to match cmake config.
0ab57bdc9745 [include-cleaner] Fix the member-expr-access usage for sugar type.
6cad2a95fb54 Fix 'underline too short' failure
a40ef656d812 [Intrinsic] Rename flt.rounds intrinsic to get.rounding
411048c1aee4 [mlir][transform] Add PackedOrDynamicIndexList helper
b26fe2a3e520 [AIX][BigArchive] Treat the archive is empty if the first child member offset is zero
14ce58f3bff0 [mlir][python] llvm::Optional::value => operator*
0ebab8bae421 PPC: Implement null target streamer
3ae00753c156 [InstCombine] `sinkNotIntoOtherHandOfLogicalOp()`: don't forget to re-set insert position
6adeec881a83 [InstCombine] `sinkNotIntoOtherHandOfLogicalOp()`: allow extra invertible uses of hand-to-invert
726130ee935d [NFC][InstCombine] Improve test coverage for invertible extra uses of hands of logical op
b20ccccda22b [InstCombine] Support sinking `not` into logical operand with invertible hands
ba9c6add4c9d [NFC][InstCombine] Add tests for sinking `not` into logical ops with hands with extra (but invertible) uses
fa5f77b16246 [CodeGen] Include llvm/CodeGen/DFAPacketizer.h
844c8fc9c93f [CodeGen] Include MachineInstr.h
9f0c9e4725f6 [InstCombine] Try to sink `not` of one operand of logical operation into another hand
02a3e22ca2c3 [NFC][InstCombine] Add tests with invertible hands of logical operators
138a97578b9d Revert "[APSInt] Fix bug in APSInt mentioned in https://github.com/llvm/llvm-project/issues/59515"
67119c7cbad7 [gn] try porting 07af0e2d3e84 even more
7859d6e79ca9 [APSInt] Fix bug in APSInt mentioned in https://github.com/llvm/llvm-project/issues/59515
4def99e64280 [InstCombine] Try to fold `not` into `cmp` iff other users of `cmp` are freely invertible
f61de3c1aa8f [NFC][PatternMatching] Promote `m_LogicalOp` matchers into `PatternMatch.h`
4d48ccfc88ca [MC] Use `MCRegister` instead of `unsigned` in `MCTargetAsmParser`
68c73bf7b236 [CMake] Fix LoongArchTests -DBUILD_SHARED_LIBS=on builds
205c0589f918 Revert "[clang] Convert OptionalFileEntryRefDegradesToFileEntryPtr to std::optional"
a538f7cfb1d7 [libc++][CI] Fixes build failures.
869f60ffa13b [PoisonChecking] Add tests with selects.
012a85296b2f AMDGPU/GlobalISel: Use ptrtoint to legalize constant 32-bit addrspacecast
09e79659bf2a llvm-profgen: Fix use of stats to be under LLVM_ENABLE_STATS
8685445b3c9c [llvm-exegesis][X86] Explicitly not support `WRFSBASE` opcode.
3ebfc88637bc [NFC][llvm-exegesis] Improve `getOpcodesOrDie()`
f95ddf0ee737 [llvm-exegesis] Benchmark: gracefully handle lack of configurations to run
93ac449369be [libc] Make string functions buildable with GCC
6d9d387f73e8 Use -Wstrict-prototypes with clang only
18da9a0cb35c [llvm-exegesis] Fix 'min' repetition mode in presence of missing measurements
dbc76ef7915f [NFC][llvm-exegesis] Benchmark: move DumpObjectToDisk handling into `runConfiguration()`
ba57d2ad4e9a [gn] port 7d2c1150d31b better
6237cd778590 [mlir][Linalg] NFC - Add C++ builder to TileOp
86b4a2355e73 [InstCombine] fold flooring sdiv by power-of-2 to ashr
3c7d059f4537 [InstCombine] add/adjust tests for flooring div; NFC
17069608940d AMDGPU/R600: Special case addrspacecast lowering for null
9d6003c764fc AMDGPU: Lower addrspacecast on gfx6
6f5cdc93cd76 [gn] port 7d2c1150d31bb
83d7605c22af [gn build] Port rest of 07af0e2d3e84
54418125191c [llvm-objdump][AArch64] Fix ADRP target label calculation
6dcf9371490e [gn build] Port some of 07af0e2d3e84
b65fbf821a5f [gn] port ae3e228af7
d5f8878a6e7d [InstCombine] canonicalize insertelement order based on index
9ec5b512b670 [InstCombine] add tests for flooring division; NFC
8d81fe3adbf8 [InstCombine] avoid IR values named 'tmp' in tests; NFC
c365fdd8d53c [InlineAdvisor] Fix dependencies for InlineAdvisorPlugin
bd7f4c561f5e [C++20][Modules] Elide unused guard variables in Itanium ABI module initializers.
541ef3d61e93 Include <optional> instead of "llvm/ADT/Optional.h"
9c1b82599dac [AAPointerInfo] handle multiple offsets in PHI
7d4f70f8e598 Reland 3nd attempt:  [lld-macho] Fix bug in reading cpuSubType field.
8bb8421b0d5e [mlir] Add an overload of parseOptionalAttribute for SymbolRefAttr
81f3deec1931 [Attributor][FIX] Ensure to delete all AAs
7bce66edc65b [AArch64][SVE] Allow to lower WHILEop with constant operands to PTRUE
7db05ae14d79 [flang] Fix crash in name resolution
81b35aa69f99 [NFC][llvm-exegesis] Extract `runBenchmarkConfigurations()` out of `benchmarkMain()`
1dd4a6aac649 [NFC][llvm-exegesis] `BenchmarkRunner`: split `runConfiguration()` into `getRunnableConfiguration()` + `runConfiguration()`
a5de49755cab [NFC][llvm-exegesis] `InstructionBenchmark`: only allow move constructor
fbaf48be0ff6 [lldb] Remove redundant .c_str() and .get() calls
a3400191137e [llvm-exegesis] Unbreak `--benchmarks-file=<f>`
d22f050e15cb Remove redundant .c_str() and .get() calls
ae3e228af77f cmake: Enable 64bit off_t on 32bit glibc systems
4244cab23afc [flang] Check constant arguments to bit manipulation intrinsics even if not foldable
8f0df9f3bbc6 [clang] Convert OptionalFileEntryRefDegradesToFileEntryPtr to std::optional
1d43966bc33a [llvm][ADT] Allow returning `std::nullopt` in TypeSwitch
1792821c8308 Optional: Deprecated value()
411512a7ce9c Optional: Avoid value() uses
15a9a72ee681 [flang] llvm::Optional::value() => => operator*/operator->
bbf84fcf180c [X86] SandyBridge - fix ADC RMW uop count
1a9dec0dda00 [flang] Fixed buildbot failured after D140236.
b926e35724e6 precommit APSInt format for D140059
b482cbeb4e56 [NFC][CMake] Fix AnalysisTests build after 07af0e2d3e8485ad6f84da1ad9851538b62d2942
ed37234f9be3 [X86] Fix BMI uop/throughputs on znver1/znver2
f43886e7ba5a [lldb] llvm::Optional::value() && => operator*/operator->
b6ef76a1ec54 [NFC][flang] Removed pgmath handling from lowering.
118b49a09b97 [NFCI][llvm-exegesis] `BenchmarkRunner::runConfiguration()`: extract `assembleSnippet()` helper
41dd767fee75 [NFC][llvm-exegesis] `BenchmarkRunner::runConfiguration()`: deduplicate `DumpObjectToDisk` handling
0db620aa30c9 [NFC][llvm-exegesis] `BenchmarkRunner::runConfiguration()`: reformat
17e202424c02 [NFCI][llvm-exegesis] Extract 'Min' repetition handling from `BenchmarkRunner` into it's caller
b57533d1d5a2 [clang-tools-extra] llvm::Optional::value => operator*/operator->
d1f475347518 [clang] llvm::Optional::value() && => operator*/operator->
76b11003728d [mlir] llvm::Optional::value() && => operator*/operator->
cbb0981388b6 [mlir] llvm::Optional::value => operator*/operator->
412f391ca4ba [flang] Check for another case of ambiguous generic resolution
07af0e2d3e84 Reapply "[InlineAdvisor] Allow loading advisors as plugins"
1457eb378aa8 [flang] Check C854, C855, & C856 on PROTECTED entities
fb792ebaf211 [flang] Apply definability checks in ALLOCATE/DEALLOCATE statements
1033289a3fe7 Fix unused variable warnings in SIFrameLowering.cpp for release build, NFC
1651bc60ada3 Update the bazel's llvm-config.h.cmake file
98eb7d0a8d0b [flang] Enforce C1529 as a warning, C919 as an error
4e74f2d8a6af Fix unused variable warning in release build, NFC.
2bc2bcb2460f [X86] All the WriteBLS instructions take 2uops, not 1uop
f53234cbfd00 [AggressiveInstCombine] Fix invalid TypeSize conversion when combining loads.
815fddfa1782 [flang] Impose DATA initialization size limit to avoid crashing
10539ec2cf69 [dsymutil] fix accidental 32bit truncation in patchFrameInfoForObject
09c5aab7f881 Revert "Reland 2nd attempt:  [lld-macho] Fix bug in reading cpuSubType field."
5b1592b5c50e [NFC][llvm-exegesis] LLVMState: only store references to reg/op names
2ee17d691f4f [llvm-exegesis][X86] Use the same AGU counter estimate mapping for znver1 as znver2, and count RMW ops as well
254b5e786951 [NFC][InstCombine] Move nested-select testcase into proper place, adjust comment
e31d27e46048 [libc++][format] Renames __null_sentinel.
1f057e365f1f [X86] AMD Zen 4 Initial enablement
22426110c5ef mlir/tblgen: use std::optional in generation
a0f168fa899d Revert "[RISCV] Support the short-forward-branch predicatd ops in RISCVSExtWRemoval."
1e6adbadc775 [clang] llvm::Optional::value => operator*/operator->
4501133d96b6 Ensure newlines at the end of files (NFC)
9e586217f4e3 [RISCV] Support the short-forward-branch predicatd ops in RISCVSExtWRemoval.
bcf24026b9fe [BinaryFormat] Use std::optional instead of llvm::Optional (NFC)
c9e121eb44c4 [MLIR] Enhance getLargestKnownDivisor for AffineExpr floordiv/ceildiv
85956bd5522f [NVPTX] Use std::optional instead of llvm::Optional (NFC)
da7415acdafb [RISCV] Add support for predicating AND/OR/XOR/ADD/SUB with short-forward-branch-opt.
c1266ca6622e [M68k] Fix spillCalleeSavedRegisters after D138656
53e5cd4d3e39 llvm::Optional::value => operator*/operator->
40ba0942e2ab [AMDGPU][SILowerSGPRSpills] Spill SGPRs to virtual VGPRs
b5efec4b27bf [CodeGen] Additional Register argument to storeRegToStackSlot/loadRegFromStackSlot
ce02d5a53956 [CodeGen] Use cloneVirtualRegister in LiveIntervals and LiveRangeEdit
2f23f5c0d53c [CodeGen] Use delegate to notify targets when virtual registers are created
29247824f57e [AMDGPU][SIFrameLowering] Use the right frame register in CSR spills
7a72a9358014 [AMDGPU] Preserve only the inactive lanes of scratch vgprs
20a940f1e217 [AMDGPU][SIFrameLowering] Unify PEI SGPR spill saves and restores
b25b4c0ab4ad [AMDGPU] Separate out SGPR spills to VGPR lanes during PEI
5ebe91fcb2a1 [AMDGPU] Correctly set IsKill flag for VGPR spills in the prolog
af5e5c40ff73 [AMDGPU] Add WWM reserved VGPRs to WWMSpills
5692a7e84e12 [AMDGPU] Callee must always spill writelane VGPRs
cc037e17907d [mlir] llvm::Optional::value => operator*/operator->
a3209b0fbcf7 [llvm] llvm::Optional::value => operator*/operator->
fc6ca0d05377 [clang] llvm::Optional::value => operator*/operator->
43fbbcbfa9a0 [clangd] llvm::Optional::value => operator*/operator->
f6c54cdbc439 [-Wunsafe-buffer-usage] Ignore array subscript on literal zero
d88e8dcc728c [lld] llvm::Optional::value => operator*/operator->
9464bd8c78d1 [lldb] llvm::Optional::value => operator*/operator->
f4b90773dc3d llvm::Optional::value => operator*/operator->
04202b94b684 [-Wunsafe-buffer-usage] Improve pointer matching pattern
4913e5da3c2a [mlir] std::optional::value => operator*/operator->
2098ad7f0032 [flang] std::optional::value => operator*/operator->
f1027e466b3c [lld] std::optional::value => operator*/operator->
10d0bd44ae15 [C-API] Add example code to exercise new MCJIT-like-memory-manager API.
916ef9b0249f [C-API] LLVMOrcCreateRTDyldObjectLinkingLayerWithMCJITMemoryManagerLikeCallbacks
53243f2a2961 std::optional::value => operator*/operator->
b08acee42393 Reland 2nd attempt:  [lld-macho] Fix bug in reading cpuSubType field.
0359c19e8f14 [RISCV][VP] support vp.reduce.mul by ExpandVectorPredication
8086323a91b5 [-Wunsafe-buffer-usage] NFC: Implement fix-strategies and variable-use-claiming.
eec575e548d1 Allow non-constant divisors in affine mod, floordiv, ceildiv.
428f36401b1b Reland "[SimplifyCFG] `FoldBranchToCommonDest()`: deal with mismatched IV's in PHI's in common successor block"
07ecdd9b1a8a [IR][PatternMatch] `m_Not`: do not apply inner matcher unless `Not` matched
dcabd3f01ab0 [NFC][InstCombine] Simplify miscompile testcase
dfacb8d211c8 [NFC][InstCombine] Add some readability by using `DecomposedSelect` struct
12ec5b20c2c1 [flang] Catch attempts to initialize allocatable components with DATA statement
852db8e97ef7 clang/unittests/Basic/SarifTest.cpp: std::optional::value => operator*
ea4741df826d Revert "[Attributor][NFCI] Update tests according to last commit"
e425a4c45618 Revert "[Attributor] Introduce AA[Intra/Inter]Reachability"
3b052558125c Revert "[OpenMP][FIX] Restrict more unsound assmptions about threading"
c8468f16e2cf Revert "[Attributor][FIX] Avoid memory leakage through InstExclusionSet"
92ce943e5f05 Revert "[Attributor][FIX] Try to prevent a potential memory leak"
d57a3443f3e2 Revert "[Attributor][FIX] Allow negative offsets for ranges"
525d6c54b5d9 Revert "[AAPointerInfo] handle multiple offsets in PHI"
7928a6387f4d Revert "Revert "[AAPointerInfo] handle multiple offsets in PHI""
8b446ea2ba39 Revert "[AAPointerInfo] handle multiple offsets in PHI"
67ba5c507af2 std::optional::value => operator*/operator->
6d1d055fad50 [-Wunsafe-buffer-usage] Add warnings for unsafe buffer accesses by array subscript operations
e37fac3deb9a [gn] port 7d2c1150d31b
290cc4fe17e1 [flang] Prevent crash in error case: elemental with alternate return
14b648a987e8 [NFC][OpenMP] Fix format for recent changes on OMPGridValues
21c4dc7997b8 std::optional::value => operator*/operator->
2e9c3fe6fcfd [OpenMP] Increase max teams in OMPGridValues
70432da8dbe1 [libc][Obvious] Add missing deps for a few targets.
8d22a63e2c8b Revert "[InlineAdvisor] Allow loading advisors as plugins"
a00aaf2b1317 [InlineAdvisor] Allow loading advisors as plugins
7d2c1150d31b [NFC] Add llvm-config.h def for LLVM_ENABLE_PLUGINS
893a0ea948a6 -Wunsafe-buffer-usage: fix build when -DLLVM_ENABLE_ASSERTIONS=off
036e092282f5 [CodeGen] std::optional::value => operator*/operator->
7a91e00d915c Ensure clang test doesn't write out to the source directory
51b685734b0e [Transforms,CodeGen] std::optional::value => operator*/operator->
be931f89451b clang/test/CodeCompletion: Simplify/fix some `touch` commands
20c213a13dfa [lldb][NFC] Remove unused/unimplemented Type methods
8b56014e9cf7 [mlir][linalg] Creating named 1D pooling ops
82cb792066e1 [flang][runtime] Allow CLASS(*) components when creating descriptors
0d00a9722f3c [-Wunsafe-buffer-usage] NFC: Introduce an abstraction for fixable code patterns.
6bbf9c0cca6f [OpenMP][libomptarget] Add AMDGPU NextGen plugin with asynchronous behavior
7b979417216f [OpenMP][libomptarget] Add missing symbols in dynamic_hsa
fb8eb84e5fd0 [Transforms,InstCombine] std::optional::value => operator*/operator->
2fa744e631cb std::optional::value => operator*/operator->
27249c06b775 Temporarily skip test under ASAN
9c5b97570502 [lldb] Report clang module build remarks
875c7b7d3968 [flang] Correct folding of EXTENDS_TYPE_OF()
fb5a64f0cfac [mlir-c] Add method to create unmanaged dense resource elements attr
8384347997f8 [clang-format] Don't require deduction guides to be templates
83396d854959 [mlir][tensor] Implement TilingInterface for unpack op
320b29e7ed64 Fix a syntax error
5bdb9254d923 [fuzzer] Fix UNSUPPORTED criteria for two tests
23d1301d13c5 Error: Replace value() with operator*
bef481df8b10 [mlir] Drop uses of operator<<(raw_ostream &OS, const Optional<T> &O)
5d7c5e619963 [flang] Fix fir.dispatch_table generation with derived-type parameter with kind type parameter
b2b680a5abe8 [flang] Unlimited polymoprhic allocation with intrinsic type spec
4d2faf043bbb [AMDGPU][SIFrameLowering] Mark VGPR used for AGPR spills as reserved
96d3c82645cf Revert "[SROA] `isVectorPromotionViable()`: memory intrinsics operate on vectors of bytes (take 3)"
d20f749f0ae8 [mlir] Drop uses of operator<<(raw_ostream &OS, const Optional<T> &O)
8310bec5687c [clangd] Migrate uses of operator<<(raw_ostream &OS, const Optional<T> &O) to std::optional
a903ecb4a26d [vfs] Allow root paths relative to the vfsoverlay YAML file
40d29c0a714d [clangd] Remove ReferenceFinder::Reference::Target
cf63261b7789 [flang] Don't crash attempting to fold absurdly large TRANSFER()
ad476fb21766 [InstCombine] Remove code duplication between InstCombiner.h and InstCombineInternal.h.
8a86860207f0 [fuzzer] Convert tests to check 'target=...'
556d48fbaa99 [CodeComplete] Offer completions for headers with extension .hxx in include directives
daa6305cf7ec [trace] Migrate uses of operator<<(raw_ostream &OS, const Optional<T> &O) to std::optional
bf67186bd2a1 Function: Respect IgnoreLLVMUsed with addrspacecasted functions
714301d78430 [compiler-rt/cfi] Convert tests to check 'target=...'
61042d2806af [AA][Intrinsics] Add separate_storage assumptions.
bc5e385e2faf [compiler-rt/builtins] Convert tests to check 'target=...'
a9f9f3dff474 Correct typos (NFC)
635656f4ff1e [flang] Expunge needless semantics::ProcInterface
38e9660eaa34 [asan] Convert more tests to check 'target=...'
a3672add7605 [mlir][sparse] avoid unnecessary tmp COO buffer and convert when lowering ConcatentateOp.
470bc76b1350 [IR][NFC] Cleanup: Remove non-const block iterators to force all updates go through an interface function
7bd2eace7d58 [flang] Check for elemental finalizer when defined object has vector subscript
08f16a8217c1 [VPlan] Use macro to define recipe classof implementation (NFC).
08c8280d5d8a Undo one llvm::Optional => std::optional
588ecc11b895 AArch64: Stop storing MachineFunction in MachineFunctionInfo
f3e602a47014 [NFC] Adjust adjusted manual checklines in DebugInfo to be less sensitive to the Value name
bece10c0fd47 [NFC][InstCombine] Add miscompile reproducer from https://reviews.llvm.org/D139275#4001580
e2b9cd796b33 [llvm-profgen] Fix build failure after 5d7950a403bec25e52.
abd09754edf1 [asan] Convert tests to check 'target=...'
6f6af76b843d [flang] Catch bad usage of POINTER attribute
c0c909eef89f [gn build] Port 5d7950a403be
5d7950a403be [CSSPGO][llvm-profgen] Missing frame inference.
44fe4e25e45c [PowerPC][NFC] Fix typos in PPCISelDAGToDAG
cfd594f8bb5e [SROA] `isVectorPromotionViable()`: memory intrinsics operate on vectors of bytes (take 3)
37b8f09a4b61 Revert "[SimplifyCFG] `FoldBranchToCommonDest()`: deal with mismatched IV's in PHI's in common successor block"
7f8bd8ac0658 Revert "[Driver] Remove Joined -X"
06e37c185373 [libc++] Install llvm-16-dev explicitly until LLVM16 is stable
5c94faba0bba [TTI] [AArch64] getMemoryOpCost for ptr types
2e5fe7217244 [MLIR][Linalg] Use `DenseI64ArrayAttr` in `InterchangeOp` (NFC)
e909c3d31fbd [CostModel][AArch64] Precommit opaque ptr store tests. NFC.
6c5f3f62bdb2 [reg2mem] Add special handling to CatchSwitchInst
379de1239ee3 [InstCombine] Preserve instruction name in replaceInstUsesWith()
cb3f415cd201 [PowerPC] Fix up memory ordering after combining BV to a load
29fa062f0a2a [SCEV] Add SCEV::operands() method (NFC)
82b51a142804 [AArch64] Support SLC in ACLE prefetch intrinsics
f86cdb485361 [clang][dataflow] Remove unused lambda capture
947d4fb37336 [AArch64] RASv2 Assembly Support
54d7c4dc870c [libcxx][Test] Fix expected diagnostics for std types with default integral arguments
04d652994d47 [SCEV] Return ArrayRef for SCEV operands() (NFC)
7aa9b335d63c Use range based loop to iterate over OptTable::PrefixesUnion
95c1a17433b9 [clang-format] add config parse test for short lambda
e6676a1382ff [SCEV] Convert tests to opaque pointers (NFC)
8b3323c365d0 [SCEV] Name instructions in test (NFC)
d8b0f007cb98 [libomptarget] Add HSA definitions for memory faults to dynamic_hsa
cc19628ed796 [SCEV] Convert some tests to opaque pointers (NFC)
828ce42a598c [Alignment] Use Align in SectionRef::getAlignment()
4203b062fbf7 [flang] Lower procedure ref to user defined elemental procedures (part 1)
05dc149c875c [LAA] Convert tests to opaque pointers (NFC)
2c22cfd4c956 [clang][DebugInfo] Add DW_AT_default_value support for template template parameters
2dff41c320fc [llvm][DebugInfo] Add IsDefault parameter to DIBuilder::createTemplateTemplateParameter
8d3843badb8a [clang][DebugInfo] Simplify logic to determine DW_AT_default_value for template parameters
1706f34d604e [clang][TypePrinter] Teach isSubstitutedDefaultArgument about integral types
98afcbab6650 [clang][AST][NFC] Expose clang::isSubstitutedDefaultArgument to clang/AST consumers
07e1c9978d56 [LAA] Name instructions in test (NFC)
e2bcdca527ae [AMDGPU] Generate permlane test checks
c4c23527d6c9 [ASTContext] Avoid duplicating address space map. NFCI
231992d9b88f [clang] silence unused variable warning
0da4cecfb6ad [clang][dataflow] Remove unused argument in getNullability
47f0b6630c78 [GlobalAA] Convert tests to opaque pointers (NFC)
aff69e1ec203 [LazyCallGraph] Convert tests to opaque pointers (NFC)
7fbbbfd63899 [ValueTracking] Convert tests to opaque pointers (NFC)
6402fc22e1bc [TBAA] Convert tests to opaque pointers (NFC)
beae6bfa14ac [LLVM][objcopy] Fix update-section.test on 32 bit platforms
4e49c9da14f7 [MemDep] Convert tests to opaque pointers (NFC)
5a37a774afa8 [MemDep] Run test through instnamer (NFC)
ead84636a31c [Lint] Convert tests to opaque pointers (NFC)
da839fffe397 [IRSimilarity] Convert tests to opaque pointers (NFC)
2564096655fc [DependenceAnalysis] Convert tests to opaque pointers (NFC)
8dcb629aa4cc [clang][ExtractAPI] Fix naming of typedef'd anonymous enums
7e61c68174cc [LLVM][objcopy] Update Arm XFAIL in update section test
303c308e452c [BasicAA] Convert tests to opaque pointers (NFC)
a66826a23381 Revert "[OpenMP][libomptarget] Add AMDGPU NextGen plugin with asynchronous behavior"
ba9ed24b0382 [LoongArch] Add tests showing the optimization pipeline
3caf301a8be1 [BasicAA] Convert some tests to opaque pointers (NFC)
eafe2d4cf17b [LLDB][LoongArch] Add branch instructions for EmulateInstructionLoongArch
2410b1cb83ee [Delinearization] Conve…
CarlosAlbertoEnciso pushed a commit to SNSystems/llvm-debuginfo-analyzer that referenced this issue Dec 25, 2022
Also provide a `tryExtValue()` API like APInt did in D139683

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D140059
CarlosAlbertoEnciso pushed a commit to SNSystems/llvm-debuginfo-analyzer that referenced this issue Dec 25, 2022
This reverts commit 7859d6e79ca90df2f3f206192a1dfa89e3cb10f1.

Signed-off-by: Peter Rong <PeterRong96@gmail.com>
DataCorrupted added a commit that referenced this issue Jan 20, 2023
Also provide a `tryExtValue()` API like APInt did in D139683

Reviewed By: RKSimon, efriedma

Differential Revision: https://reviews.llvm.org/D140059
CarlosAlbertoEnciso pushed a commit to SNSystems/llvm-debuginfo-analyzer that referenced this issue Jan 21, 2023
Also provide a `tryExtValue()` API like APInt did in D139683

Reviewed By: RKSimon, efriedma

Differential Revision: https://reviews.llvm.org/D140059
@DataCorrupted
Copy link
Member

Closed as done by 0a89825

@llvmbot
Copy link
Collaborator

llvmbot commented Feb 2, 2023

@llvm/issue-subscribers-clang-codegen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants