[llvm] 37dc437 - [LoopIdiom] Add non-LZCNT target test coverage

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 10:13:25 PDT 2022


Author: Simon Pilgrim
Date: 2022-09-19T18:13:11+01:00
New Revision: 37dc4373aa1c3e524962086c60311864da2c8a8f

URL: https://github.com/llvm/llvm-project/commit/37dc4373aa1c3e524962086c60311864da2c8a8f
DIFF: https://github.com/llvm/llvm-project/commit/37dc4373aa1c3e524962086c60311864da2c8a8f.diff

LOG: [LoopIdiom] Add non-LZCNT target test coverage

Added: 
    

Modified: 
    llvm/test/Transforms/LoopIdiom/X86/left-shift-until-zero.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopIdiom/X86/left-shift-until-zero.ll b/llvm/test/Transforms/LoopIdiom/X86/left-shift-until-zero.ll
index d32fd50f2992..5c2a7bc151e7 100644
--- a/llvm/test/Transforms/LoopIdiom/X86/left-shift-until-zero.ll
+++ b/llvm/test/Transforms/LoopIdiom/X86/left-shift-until-zero.ll
@@ -1,4 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -loop-idiom -mtriple=x86_64 -mcpu=corei7 < %s -S | FileCheck %s
 ; RUN: opt -loop-idiom -mtriple=x86_64 -mcpu=core-avx2 < %s -S | FileCheck %s
 
 declare void @escape_inner(i8, i8, i8, i1, i8)


        


More information about the llvm-commits mailing list