[PATCH] D87188: [InstCombine] Canonicalize SPF to abs intrinc (WIP)

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 6 05:04:34 PDT 2020


dmgreen added a comment.

I would expect the tests in llvm to only be subset of the possible second order effects that can come up from changing this. Perhaps abs is simple enough, but you might want to run the llvm test suite to see if there are any other interesting binary differences.



================
Comment at: clang/test/CodeGen/arm-mve-intrinsics/vmaxaq.c:3
 // RUN: %clang_cc1 -triple thumbv8.1m.main-none-none-eabi -target-feature +mve.fp -mfloat-abi hard -fallow-half-arguments-and-returns -O3 -disable-O0-optnone -S -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s
 // RUN: %clang_cc1 -triple thumbv8.1m.main-none-none-eabi -target-feature +mve.fp -mfloat-abi hard -fallow-half-arguments-and-returns -O3 -disable-O0-optnone -DPOLYMORPHIC -S -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s
 
----------------
Hmm. These needn't be running -O3. I'll see to removing that. Looks OK though, from what I understand about how these get lowered.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87188/new/

https://reviews.llvm.org/D87188



More information about the llvm-commits mailing list