[llvm] Add interface to check if a call has a deopt bundle (NFC) (PR #91348)

Aleksandr Popov via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 01:03:44 PDT 2024


aleks-tmb wrote:

> Not sure how much better hiding the MD_ constant in the helper function really is

We are now investigating the profitability of changing the current scheme of deopt bundles when they're attached to the deopting instruction:
```
bar() [ "deopt" (...) ]
```
to a new one with a separate state instruction:
```
%state = call token state() [ "deopt" (...) ] 
bar() [ "deopt-state" (token %state) ] 
```

So this change will probably make the transition smoother.

https://github.com/llvm/llvm-project/pull/91348


More information about the llvm-commits mailing list