This is an archive of the discontinued LLVM Phabricator instance.

[NVPTX] Don't flag StoreRetVal memory chain operands as ReadMem (PR32146)
ClosedPublic

Authored by RKSimon on May 12 2017, 12:25 PM.

Details

Summary

NVPTXTargetLowering::LowerReturn was trusting the default argument values.

This fixes 47 of the 75 NVPTX '-verify-machineinstrs with EXPENSIVE_CHECKS' errors in PR32146.

I've added -verify-machineinstrs to a few of the test files, I can be more thorough if you think it useful.

Diff Detail

Repository
rL LLVM