[llvm] r336682 - [Hexagon] Change .mir testcase to make sure function is not in SSA form

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 10 07:49:54 PDT 2018


Author: kparzysz
Date: Tue Jul 10 07:49:54 2018
New Revision: 336682

URL: http://llvm.org/viewvc/llvm-project?rev=336682&view=rev
Log:
[Hexagon] Change .mir testcase to make sure function is not in SSA form

If a machine function satisfies SSA, the IsSSA property is assumed even
if the pass to be executed runs after existing from SSA. If the pass
output then does not conform to SSA, a verifier error will be flagged
(with expensive checks enabled).


Modified:
    llvm/trunk/test/CodeGen/Hexagon/expand-condsets-impuse2.mir

Modified: llvm/trunk/test/CodeGen/Hexagon/expand-condsets-impuse2.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Hexagon/expand-condsets-impuse2.mir?rev=336682&r1=336681&r2=336682&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Hexagon/expand-condsets-impuse2.mir (original)
+++ llvm/trunk/test/CodeGen/Hexagon/expand-condsets-impuse2.mir Tue Jul 10 07:49:54 2018
@@ -11,6 +11,7 @@ body: |
     successors: %bb.1
     liveins: $r0, $r1
     %0:intregs = COPY $r0
+    %0:intregs = COPY $r0       ; defeat IsSSA detection
     %1:intregs = COPY $r1
     %2:intregs = COPY $r0
     %3:intregs = M2_mpyi %2, %1




More information about the llvm-commits mailing list