Skip to content

Merge from main with loop wrappers + composite support + liboffload #71

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

Merged
merged 1,204 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1204 commits
Select commit Hold shift + click to select a range
7c58546
[nfc][llvm] Fix a typo in MathExtras.h testing (#89653)
Moxinilian Apr 22, 2024
83bc7b5
[libc++] Remove _LIBCPP_DISABLE_NODISCARD_EXTENSIONS and refactor the…
philnik777 Apr 22, 2024
8482dbd
compiler-rt: fix few builtins build warnings. (#88991)
devnexen Apr 22, 2024
a3e7a12
Reapply "[compiler-rt][ctx_instr] Add `ctx_profile` component" (#89625)
mtrofin Apr 22, 2024
b8ff08d
[Frontend][OpenMP] Add missing "return" statement after 40137ff0d81be
kparzysz Apr 22, 2024
5a7c80c
[RISCV] Implement RISCVISD::SHL_ADD and move patterns into combine (#…
preames Apr 22, 2024
e95e94a
[mlir][test] Reorganize the test dialect (#89424)
Apr 22, 2024
14e6f63
[Frontend][OpenMP] Add suggested brackets in array initialization
kparzysz Apr 22, 2024
e8572d0
[flang] Don't emit conversion error for max(a,b, optionalCharacter) (…
klausler Apr 22, 2024
cb1b846
[flang] Improve error reporting for procedures determined by usage (#…
klausler Apr 22, 2024
31505c4
[flang] Fix spurious overflow warning folding exponentiation by integ…
klausler Apr 22, 2024
2987fca
[lldb][Core] Fix pointless if conditon (#89650)
Troy-Butler Apr 22, 2024
ce1b678
[AMDGPU] simplify VOP3_Real definitions. NFC. (#89656)
rampitec Apr 22, 2024
6884c1f
[test][GWP-ASan] Only add check-gwp_asan when its dependencies are bu…
yingcong-wu Apr 22, 2024
138524e
[flang] Fix crash on erroneous program (#88192)
klausler Apr 22, 2024
59bf49a
[flang] Fix bogus error on statement function (#89402)
klausler Apr 22, 2024
d2be982
[libc] Clean up alternate test framework support (#89659)
frobtech Apr 22, 2024
cb26391
[flang] Make proc characterization error conditional for generics (#8…
klausler Apr 22, 2024
2f77757
[docs] Rewrite cmake LLVM_RAM_PER_*_JOB description (#88570)
urnathan Apr 22, 2024
fde5e47
[flang] C_LOC is PURE (#89437)
klausler Apr 22, 2024
1444e5a
[flang] Complete implementation of OUT_OF_RANGE() (#89334)
klausler Apr 22, 2024
579efe0
Temporarily remove `clang_rt.ctx_profile` target
mtrofin Apr 22, 2024
5fef5e6
[GlobalISel] matchSDivByConst should use isNullValue() (#89666)
AZero13 Apr 22, 2024
6094b3b
[ORC] Unify task dispatch across ExecutionSession and ExecutorProcess…
lhames Apr 19, 2024
2e2ac6f
[flang] Fix build warning (#89686)
klausler Apr 22, 2024
a28557a
Revert "[ORC] Unify task dispatch across ExecutionSession and Executo…
joker-eph Apr 22, 2024
365bddf
[hwasan] Add intrinsics for fixed shadow on Aarch64 (#89319)
thurstond Apr 22, 2024
8f54ed2
Update CHECK lines in tests after 14e6f63 added new output causing th…
dyung Apr 22, 2024
28cea99
[Bazel][libc] Fix build failure
pranavk Apr 23, 2024
30d4f6a
Make createReadOrMaskedRead and isValidMaskedInputVector vector utili…
LLITCHEV Apr 23, 2024
dc3f943
Revert "[RISCV] Implement RISCVISD::SHL_ADD and move patterns into co…
preames Apr 23, 2024
1effa19
Re-apply "[ORC] Unify task dispatch across ExecutionSession and..." w…
lhames Apr 22, 2024
16efd2a
[AIX][TLS][clang] Add -maix-small-local-dynamic-tls clang option (#8…
Apr 23, 2024
aa89c1b
[lldb][DAP] Fix test failure from #73393 (#89692)
pranavk Apr 23, 2024
e7efd37
Revert "Re-apply [ORC] Unify task dispatch across ExecutionSession an…
lhames Apr 23, 2024
ff153bd
[InstCombine] Add test for #89669 (NFC)
nikic Apr 23, 2024
28d85e2
[InstCombine] Add test for #89500 (NFC)
nikic Apr 23, 2024
af8445e
[lldb] Replace condition that always evaluates to false (#89685)
Troy-Butler Apr 23, 2024
f8a19a8
[SimplifyQuery] Avoid PatternMatch.h include (NFC)
nikic Apr 23, 2024
4127a69
[Support] Fix a warning
kazutakahirata Apr 23, 2024
34ee77c
[SimplifyCFG] Add tests for #89672 (NFC)
nikic Apr 23, 2024
4ec9a66
[ADT] Remove StringRef::{startswith,endswith} (#89548)
kazutakahirata Apr 23, 2024
b64e483
[RISCV][TableGen] Generate RISCVTargetParserDef.inc from the new RISC…
topperc Apr 23, 2024
8838874
[SimplifyCFG] Check alignment when speculating stores
nikic Apr 23, 2024
e5f9de8
[clang][CodeGen][NFC] Make ConstExprEmitter a ConstStmtVisitor (#89041)
tbaederr Apr 23, 2024
25a391c
[RISCV] Sink some repeated code into parseVTypeToken. NFC (#89694)
topperc Apr 23, 2024
07b1177
[NFC] [Serialization] Use semantical type DeclID instead of raw type …
ChuanqiXu9 Apr 23, 2024
a2ccd5d
[FunctionAttrs] Fix incorrect noundef inference with poison attrs (#8…
nikic Apr 23, 2024
02d00ec
[NFC] Remove unused LocalRedeclarationsInfo from ASTBitcodes.h
ChuanqiXu9 Apr 23, 2024
b28f4d4
[memprof] Omit the key length for the record table (#89527)
kazutakahirata Apr 23, 2024
4513050
[MLIR] Harmonize the behavior of the folding API functions (#88508)
Dinistro Apr 23, 2024
9ba6961
Reapply "[clang][dataflow] Model conditional operator correctly." wit…
martinboehme Apr 23, 2024
7922534
[mlir][linalg] Add patterns to convert matmul to transposed variants …
c-rhodes Apr 23, 2024
87a2159
[NFC] [Serialization] Remove unused readVisibleDeclContextStorage fro…
ChuanqiXu9 Apr 23, 2024
eaab97a
[NFC] Rename hlsl semantics to hlsl annotations (#89309)
bob80905 Apr 23, 2024
561b3de
[mlir][Bazel] Add test data to adapt for 79225349748bb556fd027cc0bfeb…
akuegel Apr 23, 2024
a046242
[clang] Set correct FPOptions if attribute 'optnone' presents (#85605)
spavloff Apr 23, 2024
35159c2
[flang] handle intrinsic interfaces in FunctionRef::GetType (#89583)
jeanPerier Apr 23, 2024
3ea9ed4
[GlobalISel] Expand IRTranslator docs. NFC (#89186)
rovka Apr 23, 2024
6548465
EmitC: Add emitc.global and emitc.get_global (#145) (#88701)
mgehre-amd Apr 23, 2024
05c1447
[clang][ExtractAPI] Serialize platform specific unavailable attribute…
daniel-grumberg Apr 23, 2024
ce763bf
[analyzer] Fix performance of getTaintedSymbolsImpl() (#89606)
NagyDonat Apr 23, 2024
55fc5eb
[LV] Add additional cost model tests with inductions and truncates.
fhahn Apr 23, 2024
0e44ffe
[DWARF] Add option to add linkage_names to call_origin declaration re…
OCHyams Apr 23, 2024
da57609
[PAC][MC][AArch64] Fix error message for AUTH_ABS64 reloc with ILP32 …
kovdan01 Apr 23, 2024
c921ac7
[WebAssembly] Enable multivalue return when multivalue ABI is used (#…
aheejin Apr 23, 2024
b8e3b2a
[NFC] [Serialization] Turn type alias LocalDeclID into class
ChuanqiXu9 Apr 23, 2024
a22ffe5
[WebAssembly] Make RefTypeMem2Local recognize target-features (#88916)
aheejin Apr 23, 2024
d5093aa
[mlir][bazel] drop unnecessary rule
ftynse Apr 23, 2024
f220c35
Revert "[mlir][linalg] Enable fuse consumer" (#89722)
ftynse Apr 23, 2024
20cb2ed
Revert b28f4d4dd0bbf50059cb19ca794af967374e1900 "[memprof] Omit the k…
RKSimon Apr 23, 2024
dbcfb43
[lldb/test] Rename a function
labath Apr 23, 2024
a68ea36
[mlir][EmitC] Update GlobalOp description (#89726)
marbre Apr 23, 2024
8cc34fa
[flang][OpenMP] Support reduction of allocatable variables (#88392)
tblah Apr 23, 2024
bc72048
[bazel] Add a bazel flag to enable building MLIR with CUDA support (#…
apaszke Apr 23, 2024
719112c
AMDGPU: precommit test for bug in RenameIndependentSubregs
petar-avramovic Apr 23, 2024
be1c72d
[mlir][linalg] Move transpose_matmul to targeted transform op (#89717)
c-rhodes Apr 23, 2024
b467c6b
[NFC] [Serialization] Turn type alias GlobalDeclID into a class
ChuanqiXu9 Apr 23, 2024
132bf4a
[mlir][aarch64] Remove LIT config for lli (#89545)
banach-space Apr 23, 2024
b4c6607
[VectorCombine][X86] Add test showing foldShuffleOfShuffles folding s…
RKSimon Apr 23, 2024
a9e8730
[CostModel][X86] Add costs test coverage for broadcast loads
RKSimon Apr 23, 2024
f89f670
[CostModel][X86] Broadcast shuffles can be free if they are from a on…
RKSimon Apr 23, 2024
34caafe
[LLVM][CodeGen][AArch64] Simplify lowering for predicate inserts. (#8…
paulwalker-arm Apr 23, 2024
d610a51
RenameIndependentSubregs: Add missing sub-range for new IMPLICIT_DEFs…
petar-avramovic Apr 23, 2024
a9689c6
[LLVM][CodeGen][SVE] rev(whilelo(a,b)) -> whilehi(b,a). (#88294)
paulwalker-arm Apr 23, 2024
17fb3e8
[VPlan] Skip extending ICmp results in trunateToMinimalBitwidth.
fhahn Apr 23, 2024
7f4f237
[VectorCombine] foldShuffleOfShuffles - add missing arguments to getS…
RKSimon Apr 23, 2024
8a631d7
[TableGen] Fix ReplaceRegAction RTTI Kind
Pierre-vh Apr 23, 2024
bac5d8e
[ARM][AArch64] Split out processor and feature tablegen defs [NFC] (#…
tmatheson-arm Apr 23, 2024
c52b18d
[clang-tidy] Avoid overflow when dumping unsigned integer values (#85…
ealcdan Apr 23, 2024
b817451
Make default initialization explicit
Dec 14, 2023
9fb7a73
[InstCombine] Fold fcmp into select (#86482)
dtcxzyw Apr 23, 2024
56ed3dd
Pre-commit reproducer for argument copy elison related bug
bjope Apr 23, 2024
d8b253b
[SelectionDAG] Mark frame index as "aliased" at argument copy elison …
bjope Apr 23, 2024
0661af8
[Flang][OpenMP] Add restriction about subobjects to firstprivate and …
kiranchandramohan Apr 23, 2024
5fd9bbd
[DAGCombiner] Pre-commit test case for miscompile bug in combineShift…
bjope Apr 22, 2024
f9b419b
[DAGCombiner] Fix miscompile bug in combineShiftOfShiftedLogic (#89616)
bjope Apr 23, 2024
304dfe1
[X86] getTargetShuffleMask - update to take a SDValue instead of a SD…
RKSimon Apr 23, 2024
8ab3caf
[Clang][Parser] Don't always destroy template annotations at the end …
zyn0217 Apr 23, 2024
dadf6f2
[VPlan] Ignore incoming values with constant false mask. (#89384)
fhahn Apr 23, 2024
31af5e9
AtomicExpand: Emit or with constant on RHS
arsenm Apr 22, 2024
70d3ddb
[Frontend][OpenMP] Add functions for checking construct type (#87258)
kparzysz Apr 23, 2024
b926f75
[libc++] Add some private headers to libcxx.imp (#89568)
atetubou Apr 23, 2024
670ac23
[RemoveDIs][MLIR] Don't process debug records in the LLVM-IR translat…
SLTozer Apr 23, 2024
a9e3fbf
[gn build] Port 70d3ddb280ea
llvmgnsyncbot Apr 23, 2024
e0a763c
[AMDGPU] Fix GFX12 encoding of s_wait_event export_ready (#89622)
jayfoad Apr 23, 2024
b4a0fd4
[SLP]Fix PR89635: do not try to vectorize single-gather alternate node.
alexey-bataev Apr 23, 2024
282ab54
[RISCV] Add additional mul strength reduction coverage with xtheadba
preames Apr 23, 2024
74cab54
Reapply "[Clang][Sema] placement new initializes typedef array with c…
mahtohappy Apr 23, 2024
d5022d9
[SystemZ][z/OS] Make z/OS personality function known (#89679)
redstar Apr 23, 2024
adb0126
[VPlan] Add scalar inferencing support for Not and Or insns (#89160)
patrick-rivos Apr 23, 2024
c108653
[libc++][ranges] P2387R3: Pipe support for user-defined range adaptor…
Apr 23, 2024
8317d36
[mlir][linalg] Add runtime verification for linalg ops (#89342)
ryan-holt-1 Apr 23, 2024
1d7086e
clang/win: Add a flag to disable default-linking of compiler-rt libra…
nico Apr 23, 2024
03760ad
Reapply "[RISCV] Implement RISCVISD::SHL_ADD and move patterns into c…
preames Apr 23, 2024
e0c2848
[mlir] Update comment about `propertiesAttr` (NFC) (#89634)
Apr 23, 2024
ed255ed
[X86] pr34592.ll - add nounwind to remove cfi noise
RKSimon Apr 23, 2024
03c8a29
[X86] pr34592.ll - add O3 codegen run for comparison
RKSimon Apr 23, 2024
c793f4a
[RISCV] Add test coverage for mul (zext), 2^N + 2/4/8 [nfc]
preames Apr 23, 2024
f426be1
Revert "[mlir][linalg] Add runtime verification for linalg ops" (#89780)
ryan-holt-1 Apr 23, 2024
df60805
[NVPTX] Improve support for rsqrt.approx (#89417)
AlexMaclean Apr 23, 2024
3197146
[VectorCombine][AArch64] shuffletoidentity.ll - regenerate checks
RKSimon Apr 23, 2024
143be6a
[AArch64][GISel] Avoid scalarizing G_IMPLICIT_DEF and G_FREEZE in the…
dc03-work Apr 23, 2024
c45fbfd
[VectorCombine][X86] shuffle-of-binops.ll - adjust no matching operan…
RKSimon Apr 23, 2024
cebc960
[AArch64] Match ZIP and UZP starting from undef elements. (#89578)
davemgreen Apr 23, 2024
abfb491
[NFC][InstrProf] Increment valid profile stat in populateCoverage (#8…
ellishg Apr 23, 2024
49cb6db
[flang][cuda] Remove restriction on device subprogram (#89677)
clementval Apr 23, 2024
3a9d8cd
[libc++][ranges] export `std::ranges::range_adaptor_closure` (#89793)
Apr 23, 2024
579d301
[libc++][chrono] Fixes format output of negative values. (#89408)
mordante Apr 23, 2024
37e27a4
[llvm-exegesis] Add support for alderlake (#88967)
boomanaiden154 Apr 23, 2024
9e95951
[libc++][CI] Removes clang-tidy references. (#89092)
mordante Apr 23, 2024
1a8935a
[DebugInfo] Report errors when DWARFUnitHeader::applyIndexEntry fails…
bulbazord Apr 23, 2024
033453a
[libc++][doc] Updates module build instructions. (#89413)
mordante Apr 23, 2024
5fe93b0
[CodeGen][TII] Allow reassociation on custom operand indices (#88306)
mshockwave Apr 23, 2024
5f3f9d1
[flang] Remove hardcoded bits from AddDebugInfo. (#89231)
abidh Apr 23, 2024
a7e2726
[lldb/test] Add basic ld.lld --debug-names tests (#88335)
MaskRay Apr 23, 2024
06cc175
[NFC][msan] Fix typo in comment
vitalybuka Apr 23, 2024
1d14034
[NFC][msan] Add DebugInstrumentInstruction DEBUG_COUNTER
vitalybuka Apr 23, 2024
3ae10fd
[libc] Generate docs for `setjmp.h` (#89542)
Rajveer100 Apr 23, 2024
dc8f6a8
[clang] coroutine: generate valid mangled name in CodeGenFunction::ge…
hokein Apr 23, 2024
0c032fd
[RISCV] Use SHL_ADD in remaining strength reduce cases for MUL (#89789)
preames Apr 23, 2024
2662bce
[hwasan] Add test for hwasan pass with fixed shadow (#89813)
thurstond Apr 23, 2024
837dab9
[libc] Make fenv and math tests preserve fenv_t state (#89658)
frobtech Apr 23, 2024
4e9decf
[libc++][TZDB] Fixes reverse time lookups. (#89502)
mordante Apr 23, 2024
edf733b
[memprof] Take Schema into account in PortableMemInfoBlock::serialize…
kazutakahirata Apr 23, 2024
6b8d385
AMDGPU: Fix missing intrinsic mangling suffixes in test
arsenm Apr 23, 2024
859de94
[libc] Fix aarch64 build error in FEnvSafeTest change (#89826)
frobtech Apr 23, 2024
5ac744d
[Nomination] New Intel representative for the security group (#89435)
Apr 23, 2024
ef59069
[clang-tidy][modernize-use-starts-ends-with] Add support for compare(…
nicovank Apr 23, 2024
4182120
[libc] adding linux SYS_fchmodat2 syscall. (#89819)
devnexen Apr 23, 2024
36209d3
[Xtensa] Implement base CallConvention. (#83280)
andreisfr Apr 23, 2024
e1321fa
Revert "Reapply "[Clang][Sema] placement new initializes typedef arra…
pranavk Apr 23, 2024
733a877
[RISCV] Split code that tablegen needs out of RISCVISAInfo. (#89684)
topperc Apr 23, 2024
0c0c5c4
[gn build] Port 733a87783cfa
llvmgnsyncbot Apr 23, 2024
688c10d
[Bazel][libc] Fix breakage after 837dab96d6f5bece79fd58d28ea2e6f7c091…
pranavk Apr 23, 2024
4f4ebee
[msan] Eliminate non-deterministic behavior in the pass (#89831)
vitalybuka Apr 23, 2024
d56f08b
[tidy] add new check bugprone-return-const-ref-from-parameter (#89497)
HerrCai0907 Apr 23, 2024
3fa6b9c
[clang][RISCV] Support RVV bfloat16 C intrinsics (#89354)
4vtomat Apr 23, 2024
fd4399c
[lldb] Fix crash in SymbolFileCTF::ParseFunctions (#89845)
JDevlieghere Apr 23, 2024
9c4735e
[gn build] Port d56f08b2ba43
llvmgnsyncbot Apr 23, 2024
99e7350
IRSymTab: Record _GLOBAL_OFFSET_TABLE_ for ELF x86
MaskRay Apr 24, 2024
2cbc2e3
[NFC][MC][AArch64] Do not use else after return in `getRelocType` (#8…
kovdan01 Apr 24, 2024
dc5939d
[Bazel][libc] Add fp_test_helper in deps
pranavk Apr 24, 2024
d97cdd7
[PowerPC] Add PPC prefix to retglue ISD node. NFC. (#89771)
Apr 24, 2024
a1b1c4a
[InstCombine] Fix miscompile in negation of select (#89698)
nikic Apr 24, 2024
7339f7b
[InstCombine] Fix poison propagation in select of bitwise fold (#89701)
nikic Apr 24, 2024
cc73c5c
[RISCV] Remove implication of F extension for XTHeadFMemIdx from RISC…
topperc Apr 24, 2024
469c8a0
[clang-format] Correctly annotate list init braces of class types (#8…
owenca Apr 24, 2024
d9715c6
[RISCV] Don't make Zacas or Zabha imply A in RISCVISAInfo.cpp
topperc Apr 24, 2024
aa1e912
[InstCombine] Fix symbol conflicts in tests (NFC)
nikic Apr 24, 2024
ba702aa
[InstSimplify] Regenerate test checks (NFC)
nikic Apr 24, 2024
da1e3e8
[LIT][NVPTX] Add a few more known ptxas versions (#89761)
durga4github Apr 24, 2024
c8c1e4e
[WebAssembly] Fix uses of -DAG and -NOT in wasm-target-features.c (#8…
aheejin Apr 24, 2024
88b6186
[WebAssembly] Tidy up wasm-target-features.c (#89778)
aheejin Apr 24, 2024
b82a4bf
[SelectionDAG] Remove unnecessary cast of nullptr in std::fill call. NFC
topperc Apr 24, 2024
6493da7
[RISCV] Use the store value's VT as the MemoryVT after combining risc…
wangpc-pp Apr 24, 2024
805d563
[clang] Mark ill-formed partial specialization as invalid (#89536)
Endilll Apr 24, 2024
cf328ff
[IR] Memory Model Relaxation Annotations (#78569)
Pierre-vh Apr 24, 2024
806db47
[IR] Remove unused variable in Verifier.cpp (NFC)
DamonFool Apr 24, 2024
ad4a42b
[RISCV] Remove -riscv-split-regalloc flag (#89715)
lukel97 Apr 24, 2024
7da6342
Re-apply "[ORC] Unify task dispatch across ExecutionSession..." with …
lhames Apr 23, 2024
9375962
[TableGen][GlobalISel] Specialize more MatchTable Opcodes (#89736)
Pierre-vh Apr 24, 2024
008b7f1
[flang] implement capture of procedure pointers in internal procedure…
jeanPerier Apr 24, 2024
46b011d
[gn build] Port cf328ff96daf
llvmgnsyncbot Apr 24, 2024
9a8235a
[ORC] Fix -Wunused-variable in LLJIT.cpp (NFC)
DamonFool Apr 24, 2024
78ebaa2
[ORC] Fix build failure (NFC)
DamonFool Apr 24, 2024
b3ca9c3
[ValueTracking] Add tests for isKnowNonZero of `trunc nuw/nsw`; NFC
goldsteinn Apr 22, 2024
b933c84
[ValueTracking] Add support for `trunc nuw/nsw` in isKnowNonZero
goldsteinn Apr 22, 2024
62db434
[lldb] Enable support for Markdown documentation pages (#89716)
DavidSpickett Apr 24, 2024
662ef86
[clang][NFC] Remove useless code in ASTWriter
Endilll Apr 24, 2024
71c5964
[ARM][AArch64] autogenerate header file for TargetParser from Target …
tmatheson-arm Apr 24, 2024
69703b1
[ORC] Fix bot failure due to 7da63426ac5 (ORC task dispatch unificati…
lhames Apr 24, 2024
601d0ca
[lldb][Docs] Convert GDB protocol extensions doc to Markdown and add …
DavidSpickett Apr 24, 2024
c071c1d
[SPIR-V] New validation tests for pointer and primitive types (#89632)
michalpaszkowski Apr 24, 2024
603ba4c
[RISCV] Separate doLocalPostpass into new pass and move to post vecto…
lukel97 Apr 24, 2024
788d159
[libc][bazel] Allow configure options to alter all targets (#89251)
gchatelet Apr 24, 2024
4616368
[AMDGPU] Allow WorkgroupID intrinsics in amdgpu_gfx functions (#89773)
jayfoad Apr 24, 2024
91526d6
[libcxx] [modules] Add _LIBCPP_USING_IF_EXISTS on aligned_alloc (#89827)
mstorsjo Apr 24, 2024
d149370
[RISCV] Add test coverage for commutable RVV instructions
wangpc-pp Apr 24, 2024
945eeb2
[InstCombine] Simplify `(X / C0) * C1 + (X % C0) * C2` to `(X / C0) *…
dtcxzyw Apr 24, 2024
e400e90
[ORC] Fix SpeculativeJIT example after 7da63426ac5 (ORC dispatch unif…
lhames Apr 24, 2024
effb2f1
[libclc] Use a response file when building on Windows (#89756)
frasercrmck Apr 24, 2024
4c3b0a6
[mlir][tosa] Fix Map for Bias Broadcast (#89059)
FranklandJack Apr 24, 2024
282b56f
[VectorCombine] foldShuffleOfBinops - add support for length changing…
RKSimon Apr 24, 2024
89d1255
Bit width of input/result types in OpSConvert/OpUConvert must not be …
VyacheslavLevytskyy Apr 24, 2024
486ea1e
[SPIR-V] Fix pre-legalizer pass in SPIR-V Backend to support more gMI…
VyacheslavLevytskyy Apr 24, 2024
18bf0c3
[flang][OpenMP] fix reduction of arrays with non-default lower bounds…
tblah Apr 24, 2024
ceca523
[flang] de-duplicate CFGConversion pass (#89783)
tblah Apr 24, 2024
b8e97f0
[ARM] Add ARMTargetDefEmitter to llvm-tblgen source
tmatheson-arm Apr 24, 2024
3cb660d
DAG: Fix missing fptrunc_round name in debug dumps
arsenm Apr 24, 2024
e5de95d
[RISCV] bitreverse-shift.ll - fix typo
RKSimon Apr 24, 2024
506c84a
[TTI] getArithmeticInstrCost - use std:nullopt to create default empt…
RKSimon Apr 24, 2024
4d33082
[mlir][nvgpu] NVGPU Tutorials (#87065)
grypp Apr 24, 2024
333aad7
[AArch64] Add tests for concat binop patterns. NFC
davemgreen Apr 24, 2024
a13ff06
AMDGPU: Remove dead arguments in test and add SGPR variants
arsenm Apr 24, 2024
401658c
AMDGPU: Fix vector handling of fptrunc_round
arsenm Apr 24, 2024
01f8da9
[LoopUnroll] Add tests for performing load CSE after unrolling.
fhahn Apr 24, 2024
c81ec1f
[llvm][Bazel] Fix Bazel build for 71c5964f5c0686be3319bc55a0dbfb0e3a…
Apr 24, 2024
af81d8e
[AArch64][CodeGen] Add patterns for small negative VScale const (#89607)
vfdff Apr 24, 2024
62549db
[AMDGPU] Correctly determine the toolchain linker (#89803)
jhuber6 Apr 24, 2024
eaa2eac
[AMDGPU] Fix linker test on platforms without BFD
jhuber6 Apr 24, 2024
9f2a068
[DAG] Add getValid*ShiftAmountConstant wrappers without DemandedElts
RKSimon Apr 24, 2024
6e9ea6e
[MLIR][LLVM][Mem2Reg] Extends support for partial stores (#89740)
Dinistro Apr 24, 2024
79d4d16
[mlir][python] extend LLVM bindings (#89797)
makslevental Apr 24, 2024
d3f6c2c
[gn] port b8e97f0768f2
nico Apr 24, 2024
2bcbe40
[clang][ExtractAPI] Fix handling of anonymous TagDecls (#87772)
daniel-grumberg Apr 24, 2024
93eeca3
LangRef: fix broken link
zmodem Apr 24, 2024
b87b6e2
[gn] port 71c5964f5c0 (-gen-arm-target-def)
nico Apr 24, 2024
d577518
[Frontend][OpenMP] Implement getLeafOrCompositeConstructs (#89104)
kparzysz Apr 24, 2024
9cbf96a
Allow ZX_ERR_NO_RESOURCES with MAP_ALLOWNOMEM on Fuchsia (#89767)
fabio-d Apr 24, 2024
bd34bc6
[Clang][AArch64] Extend diagnostics when warning non/streaming about …
Apr 24, 2024
07e6c16
[MLIR][OpenMP] Make omp.wsloop into a loop wrapper (1/5) (#89209)
skatrak Apr 24, 2024
f6d431f
[CodeGen] Make the parameter TRI required in some functions. (#85968)
simonzgx Apr 24, 2024
4c16b12
[coro] Tweak comments about CoroAwaitSuspendInst
zmodem Apr 24, 2024
1465299
[MLIR][OpenMP] Update op verifiers dependent on omp.wsloop (2/5) (#89…
skatrak Apr 24, 2024
8843d54
[MLIR][SCF] Update scf.parallel lowering to OpenMP (3/5) (#89212)
skatrak Apr 24, 2024
2e37f28
[MLIR][OpenMP] Update omp.wsloop translation to LLVM IR (4/5) (#89214)
skatrak Apr 24, 2024
ca4dbc2
[Flang][OpenMP][Lower] Update workshare-loop lowering (5/5) (#89215)
skatrak Apr 24, 2024
3328ccf
[flang] lower SHAPE intrinsic (#89785)
jeanPerier Apr 24, 2024
96b2e35
[CostModel][AArch64] Improve fixed-width vector costs for get.active.…
david-arm Apr 24, 2024
e58dcf1
[Clang] [NFC] Prevent null pointer dereference in Sema::InstantiateFu…
smanna12 Apr 24, 2024
a047147
[AMDGPU] Add a trap lowering workaround for gfx11 (#85854)
epilk Apr 24, 2024
21ef187
[PGO] Test for inheritance relationships for `instrprof` intrinsics (…
mtrofin Apr 24, 2024
50082d6
DAG: Fix widening of fptrunc_round vectors (#89918)
arsenm Apr 24, 2024
e1aa162
[Mips] Use ANDi in for zero-extend in subword atomic umax/umin for bo…
yingopq Apr 24, 2024
a682f52
[IR][test] Fix warning in MMRA tests
Pierre-vh Apr 24, 2024
418bdb4
[clang][RISCV] Remove LMUL=8 scalar input for some vector crypto inst…
4vtomat Apr 24, 2024
3c30af4
Merge branch 'main' into amd-trunk-dev
skatrak Apr 29, 2024
b8211e9
Post-merge fixes
skatrak May 3, 2024
e967097
Merge branch 'amd-trunk-dev' into atd/wrapper-merge
skatrak May 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .ci/generate-buildkite-pipeline-premerge
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function add-dependencies() {
compiler-rt|libc|openmp)
echo clang lld
;;
flang|lldb)
flang|lldb|libclc)
for p in llvm clang; do
echo $p
done
Expand Down
10 changes: 9 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,15 @@ clang/test/AST/Interp/ @tbaederr

# MLIR NVVM Dialect in MLIR
/mlir/**/LLVMIR/**/BasicPtxBuilderInterface* @grypp
/mlir/**/NVVM*/ @grypp
/mlir/**/NVVM* @grypp

# MLIR Python Bindings
/mlir/test/python/ @ftynse @makslevental @stellaraccident
/mlir/python/ @ftynse @makslevental @stellaraccident

# MLIR Mem2Reg/SROA
/mlir/**/Transforms/Mem2Reg.* @moxinilian
/mlir/**/Transforms/SROA.* @moxinilian

# BOLT
/bolt/ @aaupov @maksfb @rafaelauler @ayermolo @dcci
Expand Down
9 changes: 9 additions & 0 deletions .github/new-prs-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
ClangIR:
- clang/include/clang/CIR/**/*
- clang/lib/CIR/**/*
- clang/tools/cir-*/**/*
- clang/test/CIR/**/*

clang:dataflow:
- clang/include/clang/Analysis/FlowSensitive/**/*
- clang/lib/Analysis/FlowSensitive/**/*
Expand Down Expand Up @@ -938,3 +944,6 @@ openmp:libomptarget:

bazel:
- utils/bazel/**

offload:
- offload/**
9 changes: 0 additions & 9 deletions .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,17 @@ jobs:
]
cc: [ 'clang-19' ]
cxx: [ 'clang++-19' ]
clang_tidy: [ 'ON' ]
include:
- config: 'generic-gcc'
cc: 'gcc-13'
cxx: 'g++-13'
clang_tidy: 'OFF'
steps:
- uses: actions/checkout@v4
- name: ${{ matrix.config }}.${{ matrix.cxx }}
run: libcxx/utils/ci/run-buildbot ${{ matrix.config }}
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
ENABLE_CLANG_TIDY: ${{ matrix.clang_tidy }}
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: always()
with:
Expand Down Expand Up @@ -102,28 +99,23 @@ jobs:
]
cc: [ 'clang-19' ]
cxx: [ 'clang++-19' ]
clang_tidy: [ 'ON' ]
include:
- config: 'generic-gcc-cxx11'
cc: 'gcc-13'
cxx: 'g++-13'
clang_tidy: 'OFF'
- config: 'generic-cxx23'
cc: 'clang-17'
cxx: 'clang++-17'
clang_tidy: 'OFF'
- config: 'generic-cxx26'
cc: 'clang-18'
cxx: 'clang++-18'
clang_tidy: 'ON'
steps:
- uses: actions/checkout@v4
- name: ${{ matrix.config }}
run: libcxx/utils/ci/run-buildbot ${{ matrix.config }}
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
ENABLE_CLANG_TIDY: ${{ matrix.clang_tidy }}
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: always() # Upload artifacts even if the build or test suite fails
with:
Expand Down Expand Up @@ -188,7 +180,6 @@ jobs:
env:
CC: clang-19
CXX: clang++-19
ENABLE_CLANG_TIDY: "OFF"
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: always()
with:
Expand Down
9 changes: 5 additions & 4 deletions bolt/docs/BAT.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ Hot indices are delta encoded, implicitly starting at zero.
| `FuncHash` | 8b | Function hash for input function | Hot |
| `NumBlocks` | ULEB128 | Number of basic blocks in the original function | Hot |
| `NumSecEntryPoints` | ULEB128 | Number of secondary entry points in the original function | Hot |
| `ColdInputSkew` | ULEB128 | Skew to apply to all input offsets | Cold |
| `NumEntries` | ULEB128 | Number of address translation entries for a function | Both |
| `EqualElems` | ULEB128 | Number of equal offsets in the beginning of a function | Hot |
| `BranchEntries` | Bitmask, `alignTo(EqualElems, 8)` bits | If `EqualElems` is non-zero, bitmask denoting entries with `BRANCHENTRY` bit | Hot |
| `EqualElems` | ULEB128 | Number of equal offsets in the beginning of a function | Both |
| `BranchEntries` | Bitmask, `alignTo(EqualElems, 8)` bits | If `EqualElems` is non-zero, bitmask denoting entries with `BRANCHENTRY` bit | Both |

Function header is followed by *Address Translation Table* with `NumEntries`
total entries, and *Secondary Entry Points* table with `NumSecEntryPoints`
Expand All @@ -99,8 +100,8 @@ entry is encoded. Input offsets implicitly start at zero.
| `BBHash` | Optional, 8b | Basic block hash in input binary | BB |
| `BBIdx` | Optional, Delta, ULEB128 | Basic block index in input binary | BB |

For hot fragments, the table omits the first `EqualElems` input offsets
where the input offset equals output offset.
The table omits the first `EqualElems` input offsets where the input offset
equals output offset.

`BRANCHENTRY` bit denotes whether a given offset pair is a control flow source
(branch or call instruction). If not set, it signifies a control flow target
Expand Down
1 change: 0 additions & 1 deletion bolt/include/bolt/Core/BinaryData.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ class BinaryData {
std::vector<MCSymbol *> &getSymbols() { return Symbols; }

bool hasName(StringRef Name) const;
bool hasNameRegex(StringRef Name) const;
bool nameStartsWith(StringRef Prefix) const;

bool hasSymbol(const MCSymbol *Symbol) const {
Expand Down
6 changes: 3 additions & 3 deletions bolt/include/bolt/Profile/BoltAddressTranslation.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ class BoltAddressTranslation {
/// entries in function address translation map.
APInt calculateBranchEntriesBitMask(MapTy &Map, size_t EqualElems);

/// Calculate the number of equal offsets (output = input) in the beginning
/// of the function.
size_t getNumEqualOffsets(const MapTy &Map) const;
/// Calculate the number of equal offsets (output = input - skew) in the
/// beginning of the function.
size_t getNumEqualOffsets(const MapTy &Map, uint32_t Skew) const;

std::map<uint64_t, MapTy> Maps;

Expand Down
10 changes: 0 additions & 10 deletions bolt/include/bolt/Rewrite/RewriteInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,13 +368,6 @@ class RewriteInstance {
/// rewritten binary.
void patchBuildID();

/// Return file offset corresponding to a given virtual address.
uint64_t getFileOffsetFor(uint64_t Address) {
assert(Address >= NewTextSegmentAddress &&
"address in not in the new text segment");
return Address - NewTextSegmentAddress + NewTextSegmentOffset;
}

/// Return file offset corresponding to a virtual \p Address.
/// Return 0 if the address has no mapping in the file, including being
/// part of .bss section.
Expand All @@ -398,9 +391,6 @@ class RewriteInstance {
/// Return true if the section holds debug information.
static bool isDebugSection(StringRef SectionName);

/// Return true if the section holds linux kernel symbol information.
static bool isKSymtabSection(StringRef SectionName);

/// Adds Debug section to overwrite.
static void addToDebugSectionsToOverwrite(const char *Section) {
DebugSectionsToOverwrite.emplace_back(Section);
Expand Down
2 changes: 1 addition & 1 deletion bolt/lib/Core/BinaryContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1880,7 +1880,7 @@ MarkerSymType BinaryContext::getMarkerType(const SymbolRef &Symbol) const {
// For aarch64 and riscv, the ABI defines mapping symbols so we identify data
// in the code section (see IHI0056B). $x identifies a symbol starting code or
// the end of a data chunk inside code, $d identifies start of data.
if ((!isAArch64() && !isRISCV()) || ELFSymbolRef(Symbol).getSize())
if (isX86() || ELFSymbolRef(Symbol).getSize())
return MarkerSymType::NONE;

Expected<StringRef> NameOrError = Symbol.getName();
Expand Down
8 changes: 0 additions & 8 deletions bolt/lib/Core/BinaryData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,6 @@ bool BinaryData::hasName(StringRef Name) const {
return false;
}

bool BinaryData::hasNameRegex(StringRef NameRegex) const {
Regex MatchName(NameRegex);
for (const MCSymbol *Symbol : Symbols)
if (MatchName.match(Symbol->getName()))
return true;
return false;
}

bool BinaryData::nameStartsWith(StringRef Prefix) const {
for (const MCSymbol *Symbol : Symbols)
if (Symbol->getName().starts_with(Prefix))
Expand Down
2 changes: 1 addition & 1 deletion bolt/lib/Core/BinaryEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ void BinaryEmitter::emitFunctionBody(BinaryFunction &BF, FunctionFragment &FF,

// Emit sized NOPs via MCAsmBackend::writeNopData() interface on x86.
// This is a workaround for invalid NOPs handling by asm/disasm layer.
if (BC.MIB->isNoop(Instr) && BC.isX86()) {
if (BC.isX86() && BC.MIB->isNoop(Instr)) {
if (std::optional<uint32_t> Size = BC.MIB->getSize(Instr)) {
SmallString<15> Code;
raw_svector_ostream VecOS(Code);
Expand Down
22 changes: 13 additions & 9 deletions bolt/lib/Core/Relocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1064,21 +1064,19 @@ MCBinaryExpr::Opcode Relocation::getComposeOpcodeFor(uint64_t Type) {
}
}

#define ELF_RELOC(name, value) #name,

void Relocation::print(raw_ostream &OS) const {
static const char *X86RelocNames[] = {
#include "llvm/BinaryFormat/ELFRelocs/x86_64.def"
};
static const char *AArch64RelocNames[] = {
#include "llvm/BinaryFormat/ELFRelocs/AArch64.def"
};
switch (Arch) {
default:
OS << "RType:" << Twine::utohexstr(Type);
break;

case Triple::aarch64:
static const char *const AArch64RelocNames[] = {
#define ELF_RELOC(name, value) #name,
#include "llvm/BinaryFormat/ELFRelocs/AArch64.def"
#undef ELF_RELOC
};
assert(Type < ArrayRef(AArch64RelocNames).size());
OS << AArch64RelocNames[Type];
break;

Expand All @@ -1088,16 +1086,22 @@ void Relocation::print(raw_ostream &OS) const {
switch (Type) {
default:
llvm_unreachable("illegal RISC-V relocation");
#undef ELF_RELOC
#define ELF_RELOC(name, value) \
case value: \
OS << #name; \
break;
#include "llvm/BinaryFormat/ELFRelocs/RISCV.def"
#undef ELF_RELOC
}
break;

case Triple::x86_64:
static const char *const X86RelocNames[] = {
#define ELF_RELOC(name, value) #name,
#include "llvm/BinaryFormat/ELFRelocs/x86_64.def"
#undef ELF_RELOC
};
assert(Type < ArrayRef(X86RelocNames).size());
OS << X86RelocNames[Type];
break;
}
Expand Down
86 changes: 44 additions & 42 deletions bolt/lib/Profile/BoltAddressTranslation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,13 @@ APInt BoltAddressTranslation::calculateBranchEntriesBitMask(MapTy &Map,
return BitMask;
}

size_t BoltAddressTranslation::getNumEqualOffsets(const MapTy &Map) const {
size_t BoltAddressTranslation::getNumEqualOffsets(const MapTy &Map,
uint32_t Skew) const {
size_t EqualOffsets = 0;
for (const std::pair<const uint32_t, uint32_t> &KeyVal : Map) {
const uint32_t OutputOffset = KeyVal.first;
const uint32_t InputOffset = KeyVal.second >> 1;
if (OutputOffset == InputOffset)
if (OutputOffset == InputOffset - Skew)
++EqualOffsets;
else
break;
Expand Down Expand Up @@ -196,12 +197,17 @@ void BoltAddressTranslation::writeMaps(std::map<uint64_t, MapTy> &Maps,
SecondaryEntryPointsMap.count(Address)
? SecondaryEntryPointsMap[Address].size()
: 0;
uint32_t Skew = 0;
if (Cold) {
auto HotEntryIt = Maps.find(ColdPartSource[Address]);
assert(HotEntryIt != Maps.end());
size_t HotIndex = std::distance(Maps.begin(), HotEntryIt);
encodeULEB128(HotIndex - PrevIndex, OS);
PrevIndex = HotIndex;
// Skew of all input offsets for cold fragments is simply the first input
// offset.
Skew = Map.begin()->second >> 1;
encodeULEB128(Skew, OS);
} else {
// Function hash
size_t BFHash = getBFHash(HotInputAddress);
Expand All @@ -217,24 +223,21 @@ void BoltAddressTranslation::writeMaps(std::map<uint64_t, MapTy> &Maps,
<< '\n');
}
encodeULEB128(NumEntries, OS);
// For hot fragments only: encode the number of equal offsets
// (output = input) in the beginning of the function. Only encode one offset
// in these cases.
const size_t EqualElems = Cold ? 0 : getNumEqualOffsets(Map);
if (!Cold) {
encodeULEB128(EqualElems, OS);
if (EqualElems) {
const size_t BranchEntriesBytes = alignTo(EqualElems, 8) / 8;
APInt BranchEntries = calculateBranchEntriesBitMask(Map, EqualElems);
OS.write(reinterpret_cast<const char *>(BranchEntries.getRawData()),
BranchEntriesBytes);
LLVM_DEBUG({
dbgs() << "BranchEntries: ";
SmallString<8> BitMaskStr;
BranchEntries.toString(BitMaskStr, 2, false);
dbgs() << BitMaskStr << '\n';
});
}
// Encode the number of equal offsets (output = input - skew) in the
// beginning of the function. Only encode one offset in these cases.
const size_t EqualElems = getNumEqualOffsets(Map, Skew);
encodeULEB128(EqualElems, OS);
if (EqualElems) {
const size_t BranchEntriesBytes = alignTo(EqualElems, 8) / 8;
APInt BranchEntries = calculateBranchEntriesBitMask(Map, EqualElems);
OS.write(reinterpret_cast<const char *>(BranchEntries.getRawData()),
BranchEntriesBytes);
LLVM_DEBUG({
dbgs() << "BranchEntries: ";
SmallString<8> BitMaskStr;
BranchEntries.toString(BitMaskStr, 2, false);
dbgs() << BitMaskStr << '\n';
});
}
const BBHashMapTy &BBHashMap = getBBHashMap(HotInputAddress);
size_t Index = 0;
Expand Down Expand Up @@ -315,10 +318,12 @@ void BoltAddressTranslation::parseMaps(std::vector<uint64_t> &HotFuncs,
uint64_t HotAddress = Cold ? 0 : Address;
PrevAddress = Address;
uint32_t SecondaryEntryPoints = 0;
uint64_t ColdInputSkew = 0;
if (Cold) {
HotIndex += DE.getULEB128(&Offset, &Err);
HotAddress = HotFuncs[HotIndex];
ColdPartSource.emplace(Address, HotAddress);
ColdInputSkew = DE.getULEB128(&Offset, &Err);
} else {
HotFuncs.push_back(Address);
// Function hash
Expand All @@ -339,28 +344,25 @@ void BoltAddressTranslation::parseMaps(std::vector<uint64_t> &HotFuncs,
getULEB128Size(SecondaryEntryPoints)));
}
const uint32_t NumEntries = DE.getULEB128(&Offset, &Err);
// Equal offsets, hot fragments only.
size_t EqualElems = 0;
// Equal offsets.
const size_t EqualElems = DE.getULEB128(&Offset, &Err);
APInt BEBitMask;
if (!Cold) {
EqualElems = DE.getULEB128(&Offset, &Err);
LLVM_DEBUG(dbgs() << formatv("Equal offsets: {0}, {1} bytes\n",
EqualElems, getULEB128Size(EqualElems)));
if (EqualElems) {
const size_t BranchEntriesBytes = alignTo(EqualElems, 8) / 8;
BEBitMask = APInt(alignTo(EqualElems, 8), 0);
LoadIntFromMemory(
BEBitMask,
reinterpret_cast<const uint8_t *>(
DE.getBytes(&Offset, BranchEntriesBytes, &Err).data()),
BranchEntriesBytes);
LLVM_DEBUG({
dbgs() << "BEBitMask: ";
SmallString<8> BitMaskStr;
BEBitMask.toString(BitMaskStr, 2, false);
dbgs() << BitMaskStr << ", " << BranchEntriesBytes << " bytes\n";
});
}
LLVM_DEBUG(dbgs() << formatv("Equal offsets: {0}, {1} bytes\n", EqualElems,
getULEB128Size(EqualElems)));
if (EqualElems) {
const size_t BranchEntriesBytes = alignTo(EqualElems, 8) / 8;
BEBitMask = APInt(alignTo(EqualElems, 8), 0);
LoadIntFromMemory(
BEBitMask,
reinterpret_cast<const uint8_t *>(
DE.getBytes(&Offset, BranchEntriesBytes, &Err).data()),
BranchEntriesBytes);
LLVM_DEBUG({
dbgs() << "BEBitMask: ";
SmallString<8> BitMaskStr;
BEBitMask.toString(BitMaskStr, 2, false);
dbgs() << BitMaskStr << ", " << BranchEntriesBytes << " bytes\n";
});
}
MapTy Map;

Expand All @@ -375,7 +377,7 @@ void BoltAddressTranslation::parseMaps(std::vector<uint64_t> &HotFuncs,
PrevAddress = OutputAddress;
int64_t InputDelta = 0;
if (J < EqualElems) {
InputOffset = (OutputOffset << 1) | BEBitMask[J];
InputOffset = ((OutputOffset + ColdInputSkew) << 1) | BEBitMask[J];
} else {
InputDelta = DE.getSLEB128(&Offset, &Err);
InputOffset += InputDelta;
Expand Down
Loading