[llvm] r290798 - [InstCombine] add explanatory comment to test; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 1 10:20:49 PST 2017


Author: spatel
Date: Sun Jan  1 12:20:49 2017
New Revision: 290798

URL: http://llvm.org/viewvc/llvm-project?rev=290798&view=rev
Log:
[InstCombine] add explanatory comment to test; NFC

The test was added at r290797, and a patch to enable the transform is proposed in D28204.


Modified:
    llvm/trunk/test/Transforms/InstCombine/call_nonnull_arg.ll

Modified: llvm/trunk/test/Transforms/InstCombine/call_nonnull_arg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/call_nonnull_arg.ll?rev=290798&r1=290797&r2=290798&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/call_nonnull_arg.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/call_nonnull_arg.ll Sun Jan  1 12:20:49 2017
@@ -31,6 +31,9 @@ dead:
   unreachable
 }
 
+; FIXME: The nonnull attribute in the 'bar' declaration could be 
+; propagated to the parameters of the 'baz' callsite. 
+
 declare void @bar(i8*, i8* nonnull)
 declare void @baz(i8*, i8*)
 




More information about the llvm-commits mailing list