[llvm-commits] [llvm] r55898 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Duncan Sands baldrick at free.fr
Mon Sep 8 07:38:49 PDT 2008


Hi Anton,

>                       DAG.getIntPtrConstant(!Subtarget->is64Bit() ? 4 : 8));

how about using getPointerSize() here instead?  (Likewise below).
That way it will also handle 16 bit machines :)

Ciao,

Duncan.



More information about the llvm-commits mailing list