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

Make conditional discard flags available externally #3

Closed
wants to merge 235 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
235 commits
Select commit Hold shift + click to select a range
e5c01b9
Buffer memory op merging pass for s_buffer_load
dstutt Jul 14, 2017
ef9b539
[AMDGPU] intrintrics for byte/short load/store
Feb 5, 2018
fa5c650
[AMDGPU] Fix issue for zext of f16 to i32
dstutt Mar 15, 2018
72ee292
[AMDGPU] Use waterfall for readlane with non-uniform index
dstutt Mar 15, 2018
7438b5d
[AMDGPU] Fix-up cases where writelane has 2 SGPR operands
dstutt Apr 25, 2018
feaf835
[AMDGPU] Implement set of waterfall intrinsics
dstutt Apr 25, 2018
565436a
[RegisterCoalescer] Extend subranges to uses after join
trenouf Aug 30, 2018
3fa50ba
[RegisterCoalescer] Do not eliminateUndefCopy for a partial copy
trenouf Aug 30, 2018
c7bf31b
[LiveRangeCalc] Fixed findReachingDefs bug
trenouf Sep 1, 2018
8b6ea62
[RegisterCoalescer] Avoid "Use not jointly dominated by defs" in remo…
trenouf Sep 9, 2018
68e4f33
[RegisterCoalescer] Only look at main ranges in valuesIdentical/follo…
trenouf Sep 9, 2018
30fbc81
Do not force skip over export instruction in PS
perlfu Dec 14, 2018
2635ffd
[AMDGPU] Temporarily disabled immarg check in verifier
trenouf Mar 26, 2019
6587f10
[InstCombine] Fix a vector-of-pointers instcombine undef bug.
trenouf Apr 15, 2019
219314a
[StackProtector][AMDGPU] Uniform values being used outside loop marke…
Apr 17, 2019
9bfc4a1
[AMDGPU] Revised optional bounds checking for scratch accesses
perlfu Jun 13, 2019
946e612
[LiveInterval] Removed bogus empty subrange assert
trenouf Jun 18, 2019
27dc5a8
Revert "AMDGPU: Be explicit about whether the high-word in SI_PC_ADD_…
trenouf Jun 19, 2019
cd87f1a
[AMDGPU] Add Wave32 Support to Scratch Bounds Checking Pass
perlfu Jul 5, 2019
6efb5e0
[AMDGCN] Support wave32/64 in waterfall intrinsics
dstutt May 20, 2019
dcf74f4
[AMDGPU] Fix getDwordOffset in buffer mem merging pass
piotrAMD Apr 30, 2019
dc3170a
Merge MIMG instructions
piotrAMD Jun 28, 2019
b8c9a08
[AMDGPU] Prevent backend override of WGP when using PAL
dstutt Jun 21, 2019
ce17a44
Fixed "Merge MIMG instructions"
piotrAMD Jul 17, 2019
1acef8b
[AMDGPU] Temporarily Disable Atomic Optimizer for GFX10
perlfu Jul 22, 2019
2edcce6
[SDA] Don't stop divergence propagation at the IPD.
simoll Jul 26, 2019
d050e52
[AMDGPU] gfx10 atomic optimizer changes.
jayfoad Jul 30, 2019
d702c00
Reinstate "AMDGPU: Be explicit about whether the high-word in SI_PC_A…
trenouf Aug 8, 2019
5af7874
Partially revert D61491 "AMDGPU: Be explicit about whether the high-w…
trenouf Aug 8, 2019
c62b84d
gfx10 atomic opt test fixup
trenouf Aug 8, 2019
4c5cbb2
[AMDGPU] Fix to 'Fold readlane from copy of SGPR or imm'
trenouf Aug 12, 2019
c84ccc6
Revert "[AMDGPU] Enable merging m0 initializations."
trenouf Aug 14, 2019
f4f9552
[InstCombine][AMDGPU] Simplify tbuffer loads
piotrAMD Aug 30, 2019
37ba27f
[TLI][AMDGPU] AMDPAL does not have library functions
trenouf Sep 10, 2019
fc7af57
[AMDGPU] Remove unnecessary movs for v_fmac operands
Aug 23, 2019
d0e9bdb
Revert "Reapply "AMDGPU: Split block for si_end_cf""
arsenm Aug 20, 2019
0539a12
Revert "[AMDGPU] Remove unnecessary movs for v_fmac operands"
trenouf Sep 17, 2019
77ceb89
Revert "[InstCombine][AMDGPU] Simplify tbuffer loads"
trenouf Sep 17, 2019
ccf09e1
Overwritten with: 77ceb89db41 Revert "[InstCombine][AMDGPU] Simplify …
Oct 10, 2019
26f5a10
Buffer memory op merging pass for s_buffer_load
dstutt Jul 14, 2017
76e0a66
[AMDGPU] intrinsics for byte/short load/store
Feb 5, 2018
dfe14ed
[AMDGPU] Fix issue for zext of f16 to i32
dstutt Mar 15, 2018
34c9330
[AMDGPU] Fix-up cases where writelane has 2 SGPR operands
dstutt Apr 25, 2018
a8dcacf
[AMDGPU] Implement set of waterfall intrinsics
dstutt Apr 25, 2018
5cd6143
[RegisterCoalescer] Extend subranges to uses after join
trenouf Aug 30, 2018
ba17323
[RegisterCoalescer] Do not eliminateUndefCopy for a partial copy
trenouf Aug 30, 2018
d067cbd
[LiveRangeCalc] Fixed findReachingDefs bug
trenouf Sep 1, 2018
2bb2965
[RegisterCoalescer] Avoid "Use not jointly dominated by defs" in remo…
trenouf Sep 9, 2018
06e3144
[RegisterCoalescer] Only look at main ranges in valuesIdentical/follo…
trenouf Sep 9, 2018
c883396
Do not force skip over export instruction in PS
perlfu Dec 14, 2018
18cb9b2
[AMDGPU] Temporarily disabled immarg check in verifier
trenouf Mar 26, 2019
f20ae31
[StackProtector][AMDGPU] Uniform values being used outside loop marke…
Apr 17, 2019
011e0e0
[AMDGPU] Revised optional bounds checking for scratch accesses
perlfu Jun 13, 2019
cef330f
Merge MIMG instructions
piotrAMD Jun 28, 2019
cc72be2
[SDA] Don't stop divergence propagation at the IPD.
simoll Jul 26, 2019
8e41591
[AMDGPU] Add llvm.amdgcn.wqm.demote intrinsic
perlfu Jul 5, 2019
ce9a97b
Overwritten with: 8e415910ec7 [AMDGPU] Add llvm.amdgcn.wqm.demote int…
Oct 10, 2019
4055769
[AMDGPU] Add llvm.amdgcn.wqm.helper intrinsic to complement demote
perlfu Sep 18, 2019
0866736
Overwritten with: 4055769b492 [AMDGPU] Add llvm.amdgcn.wqm.helper int…
Oct 10, 2019
9d4e892
Overwritten with: 92b4e096fc2 [AMDGPU] Use waterfall for readlane wit…
Oct 10, 2019
6256c6e
Overwritten with: 56002f2cdbb [SLC] Allow llvm.pow(x,2.0) -> x*x etc …
Oct 10, 2019
2b5181f
Overwritten with: fbb18a0270f Merged from upstream llvm 373192: ac0f4…
Oct 10, 2019
40fbaf4
Overwritten with: b8e91803875 Merged from upstream llvm 373423: [X86]…
Oct 10, 2019
33e6f13
Overwritten with: b19c164e79d Remove dubious logic in bidirectional l…
Oct 11, 2019
068af91
Overwritten with: acb3c7cf906 Fixes after merge due to change to alwa…
Oct 21, 2019
56636f1
Overwritten with: b4d32d7bf5b XFAIL dpp_combine.mir after reverting f…
Oct 25, 2019
717c9c6
Revert "[AMDGPU] Come back patch for the 'Assign register class for c…
Oct 30, 2019
6b257bf
Revert "AMDGPU: Use SGPR_128 instead of SReg_128 for vregs"
Nov 1, 2019
2c15e55
Overwritten with: 6b257bf4153 Revert "AMDGPU: Use SGPR_128 instead of…
Nov 1, 2019
2c07340
Revert "AMDGPU: Use SGPR_128 instead of SReg_128 for vregs"
Nov 1, 2019
0071048
Overwritten with: 2c07340a810 Revert "AMDGPU: Use SGPR_128 instead of…
Nov 4, 2019
65129cf
Merge 2c15e55bc4b into HEAD
Nov 5, 2019
220194b
Overwritten with: 3bbd3f1235f Revert "AMDGPU: Use SGPR_128 instead of…
Nov 5, 2019
b3cb789
Overwritten with: d401164f02a Merged master:0703db39892 into amd-gfx:…
trenouf Nov 11, 2019
9894965
Overwritten with: a62196f745a Manual merge master:b0c1900820c into am…
trenouf Nov 19, 2019
cc9adb3
Overwritten with: a3f66b052d7 Merged master:a9bb669e59f into amd-gfx:…
perlfu Nov 21, 2019
728902d
Overwritten with: 5e3bf90389a AMDGPU: Partially revert Make WQM aware…
perlfu Nov 26, 2019
7858771
Overwritten with: cad42751dee Revert "AMDGPU: Change boolean content …
trenouf Dec 2, 2019
1532478
Revert "AMDGPU: Change boolean content type to 0 or 1"
trenouf Nov 29, 2019
a62a00e
Overwritten with: 1532478d480 Revert "AMDGPU: Change boolean content …
trenouf Dec 2, 2019
9dad443
Merged amd-gfx-legal-branch2 into amd-gfx-legal-branch
trenouf Dec 3, 2019
198b0c7
Revert "[InstCombine] remove identity shuffle simplification for mask…
jayfoad Dec 6, 2019
cc0df5a
Overwritten with: 198b0c7191b Revert "[InstCombine] remove identity s…
trenouf Dec 6, 2019
0549a86
Overwritten with: 9333d68d986 Merged master:170ee645f4d into amd-gfx:…
jayfoad Dec 11, 2019
c22b899
Overwritten with: 131b8289ffd Merge master:fce1a6f5848 into amd-gfx:9…
piotrAMD Dec 16, 2019
08268e9
Overwritten with: 724d2153965 Merged master:0f0330a7870 into amd-gfx:…
trenouf Jan 4, 2020
1ecf0a1
Overwritten with: 293ea4504e7 Manually merged master:6d6a4590c5d into…
Jan 16, 2020
b8057d9
Overwritten with: 293ea4504e7 Manually merged master:6d6a4590c5d into…
trenouf Jan 24, 2020
861404a
Overwritten with: 7ebe0854be14 Manually merged master:b54aa053d3a int…
trenouf Jan 27, 2020
71e5ca0
Overwritten with: 0cd3f3ea2fb2 [AMDGPU] Don't remove short branches o…
trenouf Feb 6, 2020
bf355f2
Overwritten with: f54c614eda17 AMDGPU: During img instruction ret val…
trenouf Feb 6, 2020
a163b38
Overwritten with: 0d6eb9a09d3 Revert "[codegen,amdgpu] Enhance MIR DI…
Feb 10, 2020
4048811
AMDGPU: Correct const_index_stride for wave 32
dstutt Feb 24, 2020
434a284
Overwritten with: 40488113135e AMDGPU: Correct const_index_stride for…
trenouf Feb 25, 2020
3bc4902
Dummy change to td files to fix build problem
Feb 24, 2020
878d4bd
Overwritten with: 3bc4902faa7e Dummy change to td files to fix build …
trenouf Feb 26, 2020
0d25720
Cherry-picked: Revert "Revert "Revert "[codegen,amdgpu] Enhance MIR D…
dstutt Mar 10, 2020
e404e4b
Overwritten with: 0d25720311ee Cherry-picked: Revert "Revert "Revert …
trenouf Mar 11, 2020
0aab7f3
Overwritten with: 2ad1b3f0b97c Revert "Revert "Revert "[codegen,amdgp…
trenouf Mar 11, 2020
9ad2301
Overwritten with: 80e004f6b881 [AMDGPU] Add transformation of kills t…
trenouf Mar 12, 2020
815afb5
Overwritten with: 46601da50bc Reinstate getSplat(unsigned NumElts, Co…
trenouf Mar 13, 2020
5c958c7
Overwritten with: 0aab7f3563c Overwritten with: 2ad1b3f0b97c Revert "…
trenouf Mar 14, 2020
b2b163f
Overwritten with: da5f3adce76 Merged master:536ba6373f0 into amd-gfx:…
trenouf Mar 17, 2020
1ebc431
Overwritten with: c2636080d53 Merged master:ac1d23ed7de into amd-gfx:…
jayfoad Mar 20, 2020
0e27e33
Overwritten with: 82bcf11f39b Revert "Reinstate getSplat(unsigned Num…
trenouf Apr 6, 2020
f675b27
Overwritten with: 5583605b7a5 [AMDGPU] Disable endcf collapse again
jayfoad Apr 7, 2020
84d753b
Overwritten with: c60a9bf89b8 [AMDGPU] Revert scratch wave offset cha…
trenouf Apr 8, 2020
c7c3927
[AMDGPU] Disable endcf collapse again
jayfoad Apr 6, 2020
50077fc
Overwritten with: c7c392758ea [AMDGPU] Disable endcf collapse again
trenouf Apr 9, 2020
7b14353
Merged amd-gfx-legal-branch3 info amd-gfx-legal
Apr 10, 2020
5ae05ed
Overwritten with: d486507dbf1 Merged master:8812b0cc5cc into amd-gfx:…
trenouf Apr 17, 2020
a1299ba
Overwritten with: 240ccfe95f7 Revert "[AMDGPU] Set the CostPerUse val…
trenouf Apr 21, 2020
3b3df72
Revert "[AMDGPU] Set the CostPerUse value for vgpr registers."
piotrAMD Apr 20, 2020
15d123d
Overwritten with: 3b3df728f19 Revert "[AMDGPU] Set the CostPerUse val…
trenouf Apr 21, 2020
f02738a
Merge amd-gfx-legal-branch4 into amd-gfx-legal
trenouf Apr 21, 2020
53692d9
Overwritten with: ae0e4779765 Merge "[AMDGPU] Avoid more hard-coded l…
jayfoad Apr 24, 2020
4ae16c2
[MsgPack] MsgPackDocument::readFromBlob now merges
May 9, 2020
c57487b
Overwritten with: 4ae16c21fe3 [MsgPack] MsgPackDocument::readFromBlob…
trenouf May 13, 2020
3a1103f
Overwritten with: 536937b3dc3 [AMDGPU] Fixed incorrect PAL metadata r…
May 22, 2020
7b9d0cf
Overwritten with: 05ca407e6cd Merged master:c295a65da49 into amd-gfx:…
May 28, 2020
e90e9d4
Overwritten with: c307fd81e7c Manual merge master:1ddac9563d7f into a…
May 28, 2020
daedcee
Overwritten with: 357ead6e3d1 Suppress switch with only default warni…
trenouf Jun 2, 2020
a7cfa00
Overwritten with: 357ead6e3d1 Suppress switch with only default warni…
trenouf Jun 2, 2020
0c3b9cd
Overwritten with: 242b037f79c AMDGPU more fix-ups to the StackPtrOffs…
trenouf Jun 6, 2020
f3e0a98
Revert "[AMDGPU] Make SGPR spills exec mask agnostic"
dstutt Jun 9, 2020
3274df1
Overwritten with: f3e0a9859c8 Revert "[AMDGPU] Make SGPR spills exec …
trenouf Jun 10, 2020
7d6e549
[AMDGPU] Temporary fix to get previous intrinsic cost
dstutt Jun 15, 2020
da64bde
Overwritten with: 7d6e549c150 [AMDGPU] Temporary fix to get previous …
trenouf Jun 15, 2020
7ce7cdb
Overwritten with: ad0cb955849 Manual merge master:88f722c269a into am…
trenouf Jun 21, 2020
cca1a02
Overwritten with: 9a8a1b7f91b Revert "[InstCombine] canonicalize bitc…
perlfu Jun 23, 2020
71b4c58
Overwritten with: c8f92d00575 Merged master:1b10c618e928 into amd-gfx…
trenouf Jun 26, 2020
d361f76
Revert "[InstCombine] canonicalize bitcast after insertelement into u…
perlfu Jun 23, 2020
a458b29
Overwritten with: d361f76f78e Revert "[InstCombine] canonicalize bitc…
trenouf Jun 29, 2020
b3a0782
Merged -sours proposed next amd-gfx-gpuopen-master
trenouf Jun 29, 2020
dc1f5d9
Overwritten with: 28c226b4dca Merged master:0ebdc3be417 into amd-gfx:…
trenouf Jul 21, 2020
8abd948
Overwritten with: 28c226b4dca Merged master:0ebdc3be417 into amd-gfx:…
trenouf Jul 21, 2020
cc5e107
Overwritten with: 572b5725a74 Merged master:e40315d2b4e into amd-gfx:…
piotrAMD Jul 31, 2020
c2ea9a1
Overwritten with: 862f3dac7a1b Merged master:8119d6c14695 into amd-gf…
trenouf Aug 10, 2020
5ad0302
Revert "AMDGPU: Fix verifier error on spilling partially defined SGPRs"
dstutt Aug 14, 2020
ea979e9
Overwritten with: 5ad0302ed892 Revert "AMDGPU: Fix verifier error on …
trenouf Aug 14, 2020
ccbc834
Overwritten with: a77b6e995c04 Merged master:1454018dc1d9 into amd-gf…
trenouf Aug 20, 2020
1826337
Overwritten with: b4be3a06d7aa Update llvm.amdgcn.wqm.demote.ll
trenouf Sep 2, 2020
c72fe64
Overwritten with: a77b6e995c04 Merged master:1454018dc1d9 into amd-gf…
trenouf Sep 2, 2020
240f3dd
Overwritten with: 4ef4636769e7 [AMDGPU] Set DS alignment requirements…
trenouf Sep 10, 2020
ff1e992
Overwritten with: c08be3ddc85a Merged master:cb9528a0420e into amd-gf…
trenouf Sep 16, 2020
d3f03b3
Overwritten with: 82555a629c63 Merged master:625761825620 into amd-gf…
trenouf Sep 25, 2020
0510352
Overwritten with: aa7b19191b74 [AMDGPU] Correctly update uses of wate…
trenouf Sep 30, 2020
bf98770
Overwritten with: eb04fb8d2acb Temporarily revert commits that caused…
trenouf Oct 6, 2020
1598ada
Overwritten with: 19563a6be683 Merged master:9237e73ae8a3 into amd-gf…
trenouf Oct 12, 2020
145729e
Overwritten with: 2f0ca8502416 [AMDGPU] Use WQM Live Mask to Early Te…
trenouf Oct 22, 2020
1825096
Overwritten with: b19d6f8966ea CfgInterface: rename interface() to ge…
trenouf Oct 23, 2020
f7d2903
Overwritten with: 6f46063b43db Update llvm.amdgcn.waterfall.ll
trenouf Oct 26, 2020
5cb4dc4
Overwritten with: 7666303f765e [AMDGPU] Extend waterfall support to b…
trenouf Oct 26, 2020
e09ed8b
Overwritten with: 68d3270fef04 Merged master:20a3931f8fad into amd-gf…
trenouf Oct 29, 2020
f46f369
Overwritten with: 1c7c56ddc669 Merged master:6e008cb554b3 into amd-gf…
trenouf Nov 3, 2020
5b944bf
Overwritten with: 1c7c56ddc669 Merged master:6e008cb554b3 into amd-gf…
trenouf Nov 3, 2020
c9860f1
Overwritten with: 6612326f4f49 Merged master:35d625125465 into amd-gf…
trenouf Nov 5, 2020
84d2d98
[AMDGPU] Fix live mask tracking with conditional kill live lanes
perlfu Nov 8, 2020
88613f6
Overwritten with: 84d2d9812f7c [AMDGPU] Fix live mask tracking with c…
trenouf Nov 10, 2020
6d7376c
Overwritten with: adf059689f90 Change waterfall begin for multi-begin
trenouf Nov 17, 2020
15bf319
Overwritten with: c6553e1ac447 Merged master:bd4662cd3f37 into amd-gf…
trenouf Nov 19, 2020
fde3d4e
Overwritten with: c6553e1ac447 Merged master:bd4662cd3f37 into amd-gf…
trenouf Nov 19, 2020
529059d
Overwritten with: e39dc60f94f9 [AMDGPU] Waterfall loop insertion afte…
trenouf Dec 3, 2020
ae9a45d
Overwritten with: 8954ca68dadc Merge main:3d381a710220 into amd-gfx
trenouf Dec 7, 2020
0472e03
Overwritten with: 352ac6432b9e Merged main:dbfdb139f754 into amd-gfx:…
trenouf Dec 17, 2020
4ad3460
Overwritten with: a2e82546366c Merged main:ad0a7ad950fe into amd-gfx:…
trenouf Dec 23, 2020
9ef380b
Overwritten with: 273a500bfd31 Update bitcast-vec-canon-inseltpoison.ll
trenouf Jan 5, 2021
294f18d
Overwritten with: ee8e7ff0e8c7 Merged main:5471b1fa4013 into amd-gfx:…
trenouf Jan 7, 2021
1d0178f
Overwritten with: d7af18dfc774 Merged main:f8cece186305 into amd-gfx:…
jayfoad Jan 13, 2021
bcd2fe4
Overwritten with: 87fe2f5a21f0 Merged main:b62c7e047420 into amd-gfx:…
jayfoad Jan 20, 2021
870d624
Overwritten with: 1f2a806f89a5 Merged main:c8d2ae52c15b into amd-gfx:…
jayfoad Jan 25, 2021
6937c95
Overwritten with: c16ec8fd3792 Merged main:231a82a150b3 into amd-gfx:…
jayfoad Jan 26, 2021
32030dd
Overwritten with: 6b2a0812b8eb Merged main:f9d7f77267bc into amd-gfx:…
trenouf Jan 28, 2021
fb1d44a
Overwritten with: ecf888299b50 Merged main:f2b4cc91e083 into amd-gfx:…
jayfoad Feb 2, 2021
58afc07
Overwritten with: c23e7ed7b622 Merged main:edc8f0b407a1 into amd-gfx:…
jayfoad Feb 5, 2021
fef6a69
Overwritten with: ecfe8a65a49a Merged main:7786ac8377a2 into amd-gfx:…
trenouf Feb 12, 2021
28beb06
Overwritten with: 2b3526158966 [AMDGPU] Fix discard optimisation tests
trenouf Feb 19, 2021
581d625
Overwritten with: 6e900ba9cb41 Revert "[NARY-REASSOCIATE] Support rea…
trenouf Feb 26, 2021
22bd490
Overwritten with: 5e4f55625d36 Merged main:76148caa505c into amd-gfx:…
trenouf Mar 4, 2021
570c8bd
Overwritten with: dd09dc7f08a1 Merged main:80d1f657a157 into amd-gfx:…
trenouf Mar 11, 2021
9997000
[AMDGPU] Fix shortfalls in WQM marking
perlfu Mar 15, 2021
9ab78c7
Overwritten with: 999700080911 [AMDGPU] Fix shortfalls in WQM marking
trenouf Mar 15, 2021
42e39a9
Overwritten with: e057c3c40b8f Merged main:c0cd5274ccdb into amd-gfx:…
trenouf Mar 15, 2021
20799ac
Merge amd-gfx-legal-branch6 history into amd-gfx-legal to avoid histo…
trenouf Mar 15, 2021
3e6e76e
Overwritten with: 201c334669ac Merged main:f7ef26ef0b29 into amd-gfx:…
trenouf Mar 25, 2021
42e672d
[AMDGPU] Avoid unnecessary graph visits during WQM marking
perlfu Mar 18, 2021
127ee7a
Overwritten with: 42e672d2ddcb [AMDGPU] Avoid unnecessary graph visit…
trenouf Mar 26, 2021
53cfaa9
Dummy merge branch back in to preserve history
trenouf Mar 26, 2021
06c283b
Overwritten with: 1112542ccd16 [AMDGPU] Fix very minor merge artefacts
trenouf Apr 1, 2021
661ac9b
Overwritten with: 91f6a57d9fd8 Merged main:2a2720a2dec4 into amd-gfx:…
trenouf Apr 8, 2021
59efb26
Overwritten with: 2c1ed7c0c1c3 Merged main:eae0ac3a1f4c into amd-gfx:…
trenouf Apr 15, 2021
839f787
Overwritten with: 3a0c9df069fb Merged main:d2223c7a4997 into amd-gfx:…
trenouf Apr 22, 2021
c337d1a
Overwritten with: 5738a995acb4 Merged main:d78782f6a6ee into amd-gfx:…
trenouf Apr 29, 2021
2d65a54
Overwritten with: 81e2d58b4b39 Merged main:efc31be7f8e8 into amd-gfx:…
trenouf May 6, 2021
6f3cc6a
Overwritten with: af8edf41f32b Test fix from 'revert "[InstCombine] c…
trenouf May 13, 2021
f4a2a23
Overwritten with: af8edf41f32b Test fix from 'revert "[InstCombine] c…
trenouf May 13, 2021
06c125a
Overwritten with: 2599d6415711 Merged main:5781f9a74342 into amd-gfx:…
trenouf May 19, 2021
1b94c3b
Overwritten with: 0001d14b8267 Merged main:a4b61c82cf1a into amd-gfx:…
trenouf May 27, 2021
7da5ed4
Overwritten with: 17f566ae20f1 Merged main:9d070b2f4889 into amd-gfx:…
trenouf Jun 3, 2021
d087c39
Overwritten with: be05523823fc Merged main:6455418d3d2a into amd-gfx:…
trenouf Jun 14, 2021
5f0d44a
Overwritten with: 10a2b322ac71 [LVI] Remove recursion from getValueFo…
trenouf Jun 14, 2021
2ef30b5
Overwritten with: 0c4a7cf1b0d9 Merged main:01cb9c5fc52b into amd-gfx:…
trenouf Jun 20, 2021
0cb96bc
Overwritten with: c4564c99373f Revert DAGCombine changes
trenouf Jun 24, 2021
a629c23
Fix 224-bit spills
piotrAMD Jun 29, 2021
c654ffe
Overwritten with: a629c23e9858 Fix 224-bit spills
trenouf Jun 29, 2021
0a3fa7f
Overwritten with: c753832388c6 Merged main:c7b658aeb526 into amd-gfx:…
trenouf Jul 1, 2021
01f326c
Overwritten with: 7f371685abc5 Merged main:85bac9d7f934 into amd-gfx:…
trenouf Jul 9, 2021
4f968af
Overwritten with: c2de1b519b17 Merged main:da92e86263c3 into amd-gfx:…
trenouf Jul 19, 2021
53de8fe
Overwritten with: 8458a1269744 Merged main:15bf66d2f831 into amd-gfx:…
trenouf Jul 23, 2021
35321a0
Overwritten with: 25f485bd7483 Merged main:8a241cd9c247 into amd-gfx:…
trenouf Aug 2, 2021
9afbdfd
Overwritten with: a40511dd730b Merged main:2d9759c7902c into amd-gfx:…
trenouf Aug 5, 2021
3490d8b
Overwritten with: 9a2e48d2e754 Merged main:df06ec305753 into amd-gfx:…
trenouf Aug 12, 2021
0ef836c
[SimpifyCFG] Remove recursion from FoldCondBranchOnPHI. NFCI.
perlfu Aug 10, 2021
b297d10
Overwritten with: 0ef836c86a71 [SimpifyCFG] Remove recursion from Fol…
trenouf Aug 17, 2021
e1fa820
Merge history of 'amd-gfx-legal-branch8' without modifying tree
trenouf Aug 17, 2021
01ca55c
Overwritten with: 7cac7a29d809 Merged main:ccfc07904769 into amd-gfx:…
trenouf Aug 18, 2021
02a00c5
Overwritten with: 0fba726b49f3 Merged main:b546f4347b87 into amd-gfx:…
trenouf Aug 26, 2021
fd071e5
Overwritten with: 88a23aab69f5 Merged main:4b1fde8a2b68 into amd-gfx:…
trenouf Aug 31, 2021
68e5420
Overwritten with: b3d94b931a59 Merged main:76529b446859 into amd-gfx:…
trenouf Sep 7, 2021
8207d5d
Overwritten with: 6afa0ba35a78 Merged main:df7c2bcf4e45 into amd-gfx:…
trenouf Sep 17, 2021
b9fc2ab
Overwritten with: 86a1be7d8417 Merged main:9eab0da18320 into amd-gfx:…
trenouf Sep 30, 2021
59f5ac3
Revert "[AMDGPU] Propagate defining src reg for AGPR to AGPR Copys"
piotrAMD Sep 30, 2021
ff6b29f
Overwritten with: 59f5ac3c8e2e Revert "[AMDGPU] Propagate defining sr…
trenouf Oct 5, 2021
4d25fb2
Overwritten with: 54d481e0534e Merged main:587493b441ea into amd-gfx:…
trenouf Oct 16, 2021
16f6bc2
Overwritten with: 7df23f4e976b Merged main:85bf221f204e into amd-gfx:…
trenouf Oct 22, 2021
73b4a76
Overwritten with: c2eb50153bf7 Merged main:eee887e03551 into amd-gfx:…
trenouf Nov 1, 2021
413996e
Overwritten with: fa046d1222f2 Merged main:091244023ac3 into amd-gfx:…
trenouf Nov 5, 2021
ad9f69a
Overwritten with: 14be41077f2e Merged main:d61eb6c5d97b into amd-gfx:…
jayfoad Nov 10, 2021
cdd7483
Overwritten with: b281f78e2862 Merged main:97b9e8438e26 into amd-gfx:…
trenouf Nov 22, 2021
b059b7d
Overwritten with: 5192b57847f1 Merged main:7a54ae9c1d42 into amd-gfx:…
jayfoad Dec 15, 2021
9f7a599
Overwritten with: 9eb9e496c0cf Merged main:6a7db0dc8eef into amd-gfx:…
jayfoad Dec 15, 2021
c6950e0
Overwritten with: fe9e67d290b7 Merged main:a995cdab1908 into amd-gfx:…
trenouf Dec 22, 2021
aaa34e1
Overwritten with: 9d4865385485 Merged main:e9262edf0d11 into amd-gfx:…
Guzhu-AMD Jan 6, 2022
c20ba76
Overwritten with: 1a7b3468b760 Merged main:4edb9983cb8c into amd-gfx:…
Guzhu-AMD Jan 13, 2022
f002213
Make conditional discard flags available externally
kuhar Jan 26, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions llvm/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.

Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
Notified per clause 4(b) of the license.
2 changes: 2 additions & 0 deletions llvm/cmake/modules/AddLLVM.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
# Notified per clause 4(b) of the license.
include(GNUInstallDirs)
include(LLVMDistributionSupport)
include(LLVMProcessSources)
Expand Down
2 changes: 2 additions & 0 deletions llvm/cmake/modules/GetErrcMessages.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
# Notified per clause 4(b) of the license.
# This function returns the messages of various POSIX error codes as they are returned by std::error_code.
# The purpose of this function is to supply those error messages to llvm-lit using the errc_messages config.
# Currently supplied and needed error codes: ENOENT, EISDIR, EINVAL and EACCES.
Expand Down
2 changes: 2 additions & 0 deletions llvm/cmake/modules/HandleLLVMOptions.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
# Notified per clause 4(b) of the license.
# This CMake module is responsible for interpreting the user defined LLVM_
# options and executing the appropriate CMake commands to realize the users'
# selections.
Expand Down
2 changes: 2 additions & 0 deletions llvm/include/llvm/Config/llvm-config.h.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
/* Exceptions. */
/* See https://llvm.org/LICENSE.txt for license information. */
/* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
/* Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved. */
/* Notified per clause 4(b) of the license. */
/* */
/*===----------------------------------------------------------------------===*/

Expand Down
2 changes: 2 additions & 0 deletions llvm/include/llvm/IR/IntrinsicsAMDGPU.td
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Analysis/DemandedBits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/AMDGPU.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
/// \file
//===----------------------------------------------------------------------===//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/AMDGPUCombine.td
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//

Expand Down
28 changes: 18 additions & 10 deletions llvm/lib/Target/AMDGPU/AMDGPUConditionalDiscard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down Expand Up @@ -68,19 +70,25 @@
using namespace llvm;
using namespace llvm::AMDGPU;

namespace llvm {
namespace cl {

// Enable conditional discard transformations
static cl::opt<bool> EnableConditionalDiscardTransformations(
opt<bool> EnableConditionalDiscardTransformations(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No particular objection, but I haven't seen this pattern before of putting the option itself (EnableConditionalDiscardTransformations) in the cl namespace. Is it used elsewhere in LLVM?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does seem to be used occasionally elsewhere in LLVM.
Exposing this option seems fine to me.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

@kuhar kuhar Jan 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could put it in namespace llvm instead of llvm::cl. Both work for me.

"amdgpu-conditional-discard-transformations",
cl::desc("Enable conditional discard transformations"),
cl::init(false),
cl::Hidden);
desc("Enable conditional discard transformations"),
init(false),
Hidden);

// Enable conditional discard to demote transformations
static cl::opt<bool> EnableTransformDiscardToDemote(
opt<bool> EnableTransformDiscardToDemote(
"amdgpu-transform-discard-to-demote",
cl::desc("Enable transformation of optimized discards to demotes"),
cl::init(false),
cl::Hidden);
desc("Enable transformation of optimized discards to demotes"),
init(false),
Hidden);

} // namespace cl
} // namespace llvm

namespace {

Expand Down Expand Up @@ -225,12 +233,12 @@ bool AMDGPUConditionalDiscard::runOnFunction(Function &F) {
if (skipFunction(F))
return false;

if (!(EnableConditionalDiscardTransformations ||
if (!(cl::EnableConditionalDiscardTransformations ||
F.hasFnAttribute("amdgpu-conditional-discard-transformations")))
return false;

bool ConvertToDemote =
(EnableTransformDiscardToDemote ||
(cl::EnableTransformDiscardToDemote ||
F.hasFnAttribute("amdgpu-transform-discard-to-demote"));

LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
/// \file
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/AMDGPURegPressAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/AMDGPURegPressAnalysis.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
/// \file
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
# Notified per clause 4(b) of the license.
add_llvm_component_group(AMDGPU)

set(LLVM_TARGET_DEFINITIONS AMDGPU.td)
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/SIISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/SIInsertWaterfall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/SIInstructions.td
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
// This file was originally auto-generated from a GPU register header file and
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/lib/Transforms/Scalar/ADCE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// Notified per clause 4(b) of the license.
//
//===----------------------------------------------------------------------===//
//
Expand Down
2 changes: 2 additions & 0 deletions llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.waterfall.ll
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
; Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
; Notified per clause 4(b) of the license.
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -global-isel -march=amdgcn -mcpu=fiji -verify-machineinstrs < %s | FileCheck -check-prefixes=PRE-GFX10,VI %s
; RUN: llc -global-isel -march=amdgcn -mcpu=gfx900 -verify-machineinstrs < %s | FileCheck -check-prefixes=PRE-GFX10,GFX9 %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
# Notified per clause 4(b) of the license.
# RUN: llc -march=amdgcn -mcpu=gfx803 -run-pass simple-register-coalescing -verify-machineinstrs -o - %s | FileCheck --check-prefix=GCN %s
#
# This is another example of a test giving "Couldn't join subrange!"
Expand Down
2 changes: 2 additions & 0 deletions llvm/test/CodeGen/AMDGPU/discard-optimization-fn-attr.ll
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
; Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
; Notified per clause 4(b) of the license.
; RUN: llc --march=amdgcn -mcpu=gfx900 -verify-machineinstrs < %s | FileCheck -check-prefixes=GCN,KILL,DEMOTE %s

; Check that the branch is removed by the discard opt.
Expand Down
2 changes: 2 additions & 0 deletions llvm/test/CodeGen/AMDGPU/discard-optimization.ll
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
; Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
; Notified per clause 4(b) of the license.
; RUN: llc -amdgpu-conditional-discard-transformations=1 --march=amdgcn -mcpu=gfx900 -verify-machineinstrs < %s | FileCheck -check-prefixes=GCN,KILL %s
; RUN: llc -amdgpu-conditional-discard-transformations=1 -amdgpu-transform-discard-to-demote --march=amdgcn -mcpu=gfx900 -verify-machineinstrs < %s | FileCheck -check-prefixes=GCN,DEMOTE %s
; RUN: llc -amdgpu-conditional-discard-transformations=1 --march=amdgcn -mcpu=gfx900 -stop-after=amdgpu-conditional-discard < %s | FileCheck -check-prefix=GCN-IR %s
Expand Down
2 changes: 2 additions & 0 deletions llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
; Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
; Notified per clause 4(b) of the license.
; When EXPENSIVE_CHECKS are enabled, the machine verifier appears between each
; pass. Ignore it with 'grep -v'.
; fixme: the following line is added to cleanup bots, will be removed in weeks.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
; Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
; Notified per clause 4(b) of the license.
;RUN: llc < %s -march=amdgcn -mcpu=verde -verify-machineinstrs | FileCheck %s -check-prefix=CHECK -check-prefix=SI
;RUN: llc < %s -march=amdgcn -mcpu=tonga -verify-machineinstrs | FileCheck %s -check-prefix=CHECK -check-prefix=SI
;RUN: llc < %s -march=amdgcn -mcpu=gfx1010 -verify-machineinstrs | FileCheck %s -check-prefix=CHECK -check-prefix=GFX10
Expand Down
2 changes: 2 additions & 0 deletions llvm/test/CodeGen/AMDGPU/llvm.amdgcn.waterfall.ll
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
; Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
; Notified per clause 4(b) of the license.
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -march=amdgcn -mcpu=fiji -verify-machineinstrs < %s | FileCheck -check-prefixes=PRE-GFX10,VI %s
; RUN: llc -march=amdgcn -mcpu=gfx900 -verify-machineinstrs < %s | FileCheck -check-prefixes=PRE-GFX10,GFX9 %s
Expand Down
2 changes: 2 additions & 0 deletions llvm/test/CodeGen/AMDGPU/mad-mix-lo.ll
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
; Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
; Notified per clause 4(b) of the license.
; RUN: llc -march=amdgcn -mcpu=gfx906 -verify-machineinstrs -enable-misched=false < %s | FileCheck -enable-var-scope -check-prefixes=GCN,GFX9,GFX906 %s
; RUN: llc -march=amdgcn -mcpu=gfx900 -verify-machineinstrs -enable-misched=false < %s | FileCheck -enable-var-scope -check-prefixes=GCN,GFX9,GFX900 %s
; RUN: llc -march=amdgcn -mcpu=fiji -verify-machineinstrs -enable-misched=false < %s | FileCheck -enable-var-scope -check-prefixes=GCN,CIVI %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
# Notified per clause 4(b) of the license.
# RUN: llc -mtriple=amdgcn--amdgcn -mcpu=gfx803 -run-pass simple-register-coalescing -o - %s | FileCheck --check-prefix=GCN %s
# REQUIRES: asserts
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
# Notified per clause 4(b) of the license.
# RUN: llc -mtriple=amdgcn--amdgcn -mcpu=gfx803 -run-pass simple-register-coalescing -o - %s | FileCheck --check-prefix=GCN %s
# REQUIRES: asserts
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
; Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
; Notified per clause 4(b) of the license.
; RUN: llc -march=amdgcn -mcpu=gfx803 -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
;
; This test was causing a "Use not jointly dominated by defs" when
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
# Notified per clause 4(b) of the license.
# RUN: llc -march=amdgcn -run-pass simple-register-coalescing -o - %s | FileCheck --check-prefix=GCN %s
# REQUIRES: asserts
#
Expand Down
2 changes: 2 additions & 0 deletions llvm/test/CodeGen/AMDGPU/smrd.ll
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
; Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
; Notified per clause 4(b) of the license.
; RUN: llc -march=amdgcn -mcpu=tahiti -verify-machineinstrs -show-mc-encoding < %s | FileCheck --check-prefixes=SI,GCN,SICIVI,SICI,SIVIGFX9_10 %s
; RUN: llc -march=amdgcn -mcpu=bonaire -verify-machineinstrs -show-mc-encoding < %s | FileCheck --check-prefixes=CI,GCN,SICIVI,SICI %s
; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs -show-mc-encoding < %s | FileCheck --check-prefixes=VI,GCN,SICIVI,VIGFX9_10,SIVIGFX9_10 %s
Expand Down
2 changes: 2 additions & 0 deletions llvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
; Modifications Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
; Notified per clause 4(b) of the license.
; RUN: llc -march=amdgcn -mcpu=verde -enable-misched=0 -post-RA-scheduler=0 -amdgpu-spill-sgpr-to-vgpr=0 < %s | FileCheck -check-prefixes=CHECK,GFX6 %s
; RUN: llc -sgpr-regalloc=basic -vgpr-regalloc=basic -march=amdgcn -mcpu=tonga -enable-misched=0 -post-RA-scheduler=0 -amdgpu-spill-sgpr-to-vgpr=0 < %s | FileCheck --check-prefix=CHECK %s
; RUN: llc -march=amdgcn -mattr=-xnack -mcpu=gfx900 -enable-misched=0 -post-RA-scheduler=0 -amdgpu-spill-sgpr-to-vgpr=0 -amdgpu-enable-flat-scratch < %s | FileCheck -check-prefixes=CHECK,GFX9-FLATSCR,FLATSCR %s
Expand Down
Loading