[llvm-commits] [llvm] r147712 - in /llvm/trunk: lib/Target/ARM/ARMFastISel.cpp test/CodeGen/ARM/fast-isel-intrinsic.ll test/CodeGen/ARM/fast-isel.ll

Jakob Stoklund Olesen stoklund at 2pi.dk
Sat Jan 7 10:21:39 PST 2012





On Jan 7, 2012, at 9:44 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote:

> Hello Jakob,
> 
>> +  // Use movw+movt when possible, it avoids constant pool entries.
>> +  if (Subtarget->isTargetDarwin() && Subtarget->useMovt()) {
> Is it possible to extend "possible" on non-darwin targets as well?

I don't see why not.

> I don't see anything darwin-specific at least for the static relocation model.

My intention was to use the same logic for fast isel and selection dag. I see now that I misunderstood the selection dag code.

The PIC and DynamicNoPIC stuff is still Darwin-only, right?



More information about the llvm-commits mailing list