aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-04-06 18:19:22 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-04-06 18:19:22 +0000
commitb7e54e8482b424d819c60fca747a43105dd21e0f (patch)
treefff2ede0c9fcda9b9266ec34ef6b80600c5ca323 /llvm/lib/CodeGen/StackProtector.cpp
parentfcc97b29c1e4c5f3a049f577661cc73dbfaa3d25 (diff)
downloadllvm-b7e54e8482b424d819c60fca747a43105dd21e0f.zip
llvm-b7e54e8482b424d819c60fca747a43105dd21e0f.tar.gz
llvm-b7e54e8482b424d819c60fca747a43105dd21e0f.tar.bz2
[Hexagon] Fix assert with packetizing IMPLICIT_DEF instructions
The compiler is generating packet with the following instructions, which causes an undefined register assert in the verifier. $r0 = IMPLICIT_DEF $r1 = IMPLICIT_DEF S2_storerd_io killed $r29, 0, killed %d0 The problem is that the packetizer is not saving the IMPLICIT_DEF instructions, which are needed when checking if it is legal to add the store instruction. The fix is to add the IMPLICIT_DEF instructions to the CurrentPacketMIs structure. Patch by Brendon Cahoon. llvm-svn: 329439
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions