search for: demotetostack

Displaying 1 result from an estimated 1 matches for "demotetostack".

2018 Jan 05
0
Question about reg2mem
...ror*** %.reg2mem21 call swiftcc void %42(%swift.opaque* noalias nocapture nonnull sret %.reload33, %swift.refcounted* swiftself %1, %swift.error** nocapture nonnull swifterror %.reload25) LLVM ERROR: Broken function found, compilation aborted! I understand the cause of the error and disabled the demoteToStack() function(invokes DemoteRegToStack() and DemotePHIToStack()) at the very end of the bcf function pass. Doing so resolved the issuse, but I'm not certain of the functinality of thoses two demote functions and the consequence of not using them. I tried to search for information regarding reg2mem...