[llvm] [RegAllocFast] fold foldable inline asm (PR #74344)

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 10:04:33 PST 2023


MatzeB wrote:

Assuming I understand what is going here: Would it be possible to add a special case InlineAsm instruction and basically replace the "`// Allocate virtreg uses and insert reloads as necessary.`" loop with a 2-pass algorithm that first assign non-foldable operands and in a 2nd pass over the operands the foldable ones?

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


More information about the llvm-commits mailing list