<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/CodeGen/ReachingDefAnalysis.cpp, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[CodeGen] Use MCRegister and Register. NFC</title>
<updated>2025-03-03T06:33:26+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-03-03T03:45:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a70175ab932412ac7d46f3c82cd19384c33fc868'/>
<id>a70175ab932412ac7d46f3c82cd19384c33fc868</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ReachingDefAnalysis] Fix management of MBBFrameObjsReachingDefs (#124943)</title>
<updated>2025-02-04T15:04:19+00:00</updated>
<author>
<name>Michael Maitland</name>
<email>michaeltmaitland@gmail.com</email>
</author>
<published>2025-02-04T15:04:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=93b90a532d0ca5a95c226e3d0b37444ef692d3da'/>
<id>93b90a532d0ca5a95c226e3d0b37444ef692d3da</id>
<content type='text'>
MBBFrameObjsReachingDefs was not being built correctly since we were not
inserting into a reference of Frame2InstrIdx. If there was multiple
stack slot defs in the same basic block, then the bug would occur. This
PR fixes this problem while simplifying the insertion logic.

Additionally, when lookup into MBBFrameObjsReachingDefs was occurring,
there was a chance that there was no entry in the map, in the case that
there was no reaching def. This was causing us to return a default
value, which may or may not have been correct. This patch returns the
correct value now.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MBBFrameObjsReachingDefs was not being built correctly since we were not
inserting into a reference of Frame2InstrIdx. If there was multiple
stack slot defs in the same basic block, then the bug would occur. This
PR fixes this problem while simplifying the insertion logic.

Additionally, when lookup into MBBFrameObjsReachingDefs was occurring,
there was a chance that there was no entry in the map, in the case that
there was no reaching def. This was causing us to return a default
value, which may or may not have been correct. This patch returns the
correct value now.</pre>
</div>
</content>
</entry>
<entry>
<title>[ReachingDefAnalysis] Fix LLVM_ENABLE_REVERSE_ITERATION bot after #118097</title>
<updated>2025-02-03T06:20:41+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-02-03T06:20:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=567d28d82293a33205c1d4b36d070cf0cacf6e53'/>
<id>567d28d82293a33205c1d4b36d070cf0cacf6e53</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ReachingDefAnalysis] Use non-state Register::isPhysical. NFC</title>
<updated>2025-01-30T07:19:55+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-01-30T07:19:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=83a8bb363ad578da67a7cb568460a3871ce0ad8b'/>
<id>83a8bb363ad578da67a7cb568460a3871ce0ad8b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGen] Add Register::stackSlotIndex(). Replace uses of Register::stackSlot2Index. NFC (#125028)</title>
<updated>2025-01-30T07:02:07+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-01-30T07:02:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=dd3edc8365112c47ea01cc942c8223749d007608'/>
<id>dd3edc8365112c47ea01cc942c8223749d007608</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[ReachingDefAnalysis][NFC] Use at instead of lookup for DenseMap access"</title>
<updated>2025-01-29T16:21:59+00:00</updated>
<author>
<name>Michael Maitland</name>
<email>michaeltmaitland@gmail.com</email>
</author>
<published>2025-01-29T16:21:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=35defdf4707dfa58802188d2aad1298cddb44cb6'/>
<id>35defdf4707dfa58802188d2aad1298cddb44cb6</id>
<content type='text'>
This reverts commit 3ce97e4aa98ad6a3502528818ff11eee89ef2fae. Pushed to main
prematurley.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 3ce97e4aa98ad6a3502528818ff11eee89ef2fae. Pushed to main
prematurley.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ReachingDefAnalysis][NFC] Use at instead of lookup for DenseMap access</title>
<updated>2025-01-29T16:15:56+00:00</updated>
<author>
<name>Michael Maitland</name>
<email>michaeltmaitland@gmail.com</email>
</author>
<published>2025-01-29T16:15:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3ce97e4aa98ad6a3502528818ff11eee89ef2fae'/>
<id>3ce97e4aa98ad6a3502528818ff11eee89ef2fae</id>
<content type='text'>
`at` has an assert that the key exists. Since we are assuming the key exists,
use `at` instead of `lookup`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`at` has an assert that the key exists. Since we are assuming the key exists,
use `at` instead of `lookup`.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ReachingDefAnalysis] Extend the analysis to stack objects. (#118097)</title>
<updated>2025-01-29T15:55:16+00:00</updated>
<author>
<name>Mikhail Gudim</name>
<email>mgudim@gmail.com</email>
</author>
<published>2025-01-29T15:55:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3c3c850a45c8f1ea1e9d6aa514e2b6076d1a4534'/>
<id>3c3c850a45c8f1ea1e9d6aa514e2b6076d1a4534</id>
<content type='text'>
We track definitions of stack objects, the implementation is identical
to tracking of registers.

Also, added printing of all found reaching definitions for testing
purposes.

---------

Co-authored-by: Michael Maitland &lt;michaeltmaitland@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We track definitions of stack objects, the implementation is identical
to tracking of registers.

Also, added printing of all found reaching definitions for testing
purposes.

---------

Co-authored-by: Michael Maitland &lt;michaeltmaitland@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[ReachingDefAnalysis][NFC] Replace MCRegister with Register (#123626)</title>
<updated>2025-01-21T06:04:18+00:00</updated>
<author>
<name>Mikhail Gudim</name>
<email>mgudim@gmail.com</email>
</author>
<published>2025-01-21T06:04:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5cde6d2fdf1e2ededf10ac0a30187c3359a93828'/>
<id>5cde6d2fdf1e2ededf10ac0a30187c3359a93828</id>
<content type='text'>
This is preparation for extending ReachingDefAnalysis to stack slots. We
should use `Register`, not `MCRegister` for something that can be a
physical register or a stack slot.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is preparation for extending ReachingDefAnalysis to stack slots. We
should use `Register`, not `MCRegister` for something that can be a
physical register or a stack slot.</pre>
</div>
</content>
</entry>
<entry>
<title>[ReachingDefAnalysis][NFC] Rename `PhysReg` to `Reg`. (#122112)</title>
<updated>2025-01-08T15:00:41+00:00</updated>
<author>
<name>Mikhail Gudim</name>
<email>mgudim@gmail.com</email>
</author>
<published>2025-01-08T15:00:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f37bee1d929a90dd3dbb67a4a9d0a52400a8a78f'/>
<id>f37bee1d929a90dd3dbb67a4a9d0a52400a8a78f</id>
<content type='text'>
This is in order to prepare for future MR where we will extend
`ReachingDefAnalysis` to stack slots.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is in order to prepare for future MR where we will extend
`ReachingDefAnalysis` to stack slots.
</pre>
</div>
</content>
</entry>
</feed>
