[llvm-commits] [llvm-gcc-4.2] r91350 - in /llvm-gcc-4.2/trunk/gcc: llvm-convert.cpp llvm-internal.h

Anton Korobeynikov anton at korobeynikov.info
Mon Dec 14 16:01:01 PST 2009


Hell, Jim

> -  EmitMemoryBarrier(true, true, true, true);
> +#if defined(TARGET_ARM) && defined(CONFIG_DARWIN_H)
> +  EmitMemoryBarrier(true, true, true, true, false);
> +#else
> +  EmitMemoryBarrier(true, true, true, true, true);
> +#endif
Could this be moved to some target hook? I don't think we'd want a
chain of target ifdef's here.

Thanks!

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




More information about the llvm-commits mailing list