[PATCH] D29756: [X86][btver2] PR31902: Fix a crash in combineOrCmpEqZeroToCtlzSrl under fast math.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 06:21:15 PST 2017


spatel added inline comments.


================
Comment at: test/CodeGen/X86/lzcnt-zext-cmp.ll:4-7
 ; RUN: llc < %s -mtriple=x86_64-pc-linux -mcpu=btver2 | FileCheck %s
 ; RUN: llc < %s -mtriple=x86_64-pc-linux -mcpu=btver2 -mattr=-fast-lzcnt | FileCheck --check-prefix=NOFASTLZCNT %s
 ; RUN: llc < %s -mtriple=x86_64-pc-linux -mcpu=znver1 | FileCheck %s
 ; RUN: llc < %s -mtriple=x86_64-pc-linux -mcpu=znver1 -mattr=-fast-lzcnt | FileCheck --check-prefix=NOFASTLZCNT %s
----------------
An opportunity to make this easier to read (as a separate patch): add a common prefix for all runs ("ALL") and rerun the script. That way it will be obvious which tests expect no transformation.


https://reviews.llvm.org/D29756





More information about the llvm-commits mailing list