[PATCH] Generate more normal LLVM IR for ARM NEON intrinsics

Joey Gouly joey.gouly at arm.com
Tue Aug 27 09:29:17 PDT 2013


Hi Tim,

These all look good to me!

As we found out, DragonEgg isn't using the LLVM intrinsics, so unless there
are other users
out there, it should be fine!

Thanks,
Joey


-----Original Message-----
From: cfe-commits-bounces at cs.uiuc.edu
[mailto:cfe-commits-bounces at cs.uiuc.edu] On Behalf Of Tim Northover
Sent: 27 August 2013 17:01
To: cfe-commits at cs.uiuc.edu
Cc: Jiangning Liu
Subject: [PATCH] Generate more normal LLVM IR for ARM NEON intrinsics

Hi,

The attached patches change Clang's CodeGen for ARM NEON intrinsics to
use more normal LLVM operations (and modular intrinsics where
necessary) instead of a single special-purpose one.

The hope is that if LLVM can understand the operations being
performed, it can optimise them, at least in some cases. It will also
allow us to tidy up the ARM backend slightly by removing the original
intrinsics entirely.

All of the features being altered are already tested (albeit under
"REQUIRES: long_tests") so I haven't added any tests here.

Is it OK to commit?

Cheers.

Tim.







More information about the cfe-commits mailing list