[llvm] r375321 - AMDGPU: Remove optnone from a test

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 18:34:59 PDT 2019


Author: arsenm
Date: Fri Oct 18 18:34:59 2019
New Revision: 375321

URL: http://llvm.org/viewvc/llvm-project?rev=375321&view=rev
Log:
AMDGPU: Remove optnone from a test

It's not clear why the test had this. I'm unable to break the original
case with the original patch reverted with or without optnone.

This avoids a failure in a future commit.

Modified:
    llvm/trunk/test/CodeGen/AMDGPU/extract-subvector-equal-length.ll

Modified: llvm/trunk/test/CodeGen/AMDGPU/extract-subvector-equal-length.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AMDGPU/extract-subvector-equal-length.ll?rev=375321&r1=375320&r2=375321&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AMDGPU/extract-subvector-equal-length.ll (original)
+++ llvm/trunk/test/CodeGen/AMDGPU/extract-subvector-equal-length.ll Fri Oct 18 18:34:59 2019
@@ -4,7 +4,7 @@
 ; Test for ICE in SelectionDAG::computeKnownBits when visiting EXTRACT_SUBVECTOR
 ; with DemandedElts already as wide as the source vector.
 
-define <3 x i32> @quux() #0 {
+define <3 x i32> @quux() {
 ; CHECK-LABEL: quux:
 ; CHECK:       ; %bb.0: ; %bb
 ; CHECK-NEXT:    s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
@@ -26,5 +26,3 @@ bb:
   %tmp10 = lshr <3 x i32> %tmp9, <i32 1, i32 1, i32 1>
   ret <3 x i32> %tmp10
 }
-
-attributes #0 = { noinline optnone }




More information about the llvm-commits mailing list