[llvm-commits] Global Merge Pass for ARM

Anton Korobeynikov anton at korobeynikov.info
Fri May 21 12:56:26 PDT 2010


Hi, Evan

> 2. Can you make it a target independent pass? This should be profitable to many targets whose indexed address mode.
Which ones? I can imagine only PPC might benefit. Or I'm missing something? :)

> 3. MaxOffset should not be initialized when the pass is created. What if we want to support switching between ARM / Thumb mode on a function to function basis? Can it use TargetLowering::isLegalAddressingMode() or something similar instead?
You're right, I'll think about this.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list