[PATCH] D22042: [AArch64] Macro fusion of simple ALU ops with branches for Broadcom's Vulcan

Renato Golin via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 08:19:24 PDT 2016

rengolin added inline comments.

Comment at: lib/Target/AArch64/AArch64InstrInfo.cpp:1806
@@ -1805,1 +1805,3 @@
     if (SecondOpcode == AArch64::Bcc) {
+      if (Subtarget.getProcFamily() == AArch64Subtarget::Vulcan) {
+        // All simple ALU operations that use one micro-op
rengolin wrote:
> This looks like a job for table-gen?
Also, please, don't add more getProcFamily calls, use sub-target features.


More information about the llvm-commits mailing list