karrenberg/whole-function-vectorization — Issue #8: Switching to LLVM 3.0 inhibited by removal of llvm::uncheckedReplaceAllUsesWith()
Author: karrenberg
Created: 2011-11-22 09:53:18+00:00
State: open

I see two possible solutions for this problem:
1) Patch LLVM (re-introduce removed function)
2) Rewrite code (don't use function anymore)

Rewriting would be a major change because the way the code works relies heavily on unchecked replacing.
Instructions are replaced one-by-one instead of building a new function from scratch.

Patching LLVM on the other hand is something I want to avoid at all costs, even though this particular patch would be very simple: the function to be re-introduced is only about 10 lines long.