]> granicus.if.org Git - llvm/commitdiff
[InstCombine] add explanatory comment to test; NFC
authorSanjay Patel <spatel@rotateright.com>
Sun, 1 Jan 2017 18:20:49 +0000 (18:20 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 1 Jan 2017 18:20:49 +0000 (18:20 +0000)
The test was added at r290797, and a patch to enable the transform is proposed in D28204.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290798 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/call_nonnull_arg.ll

index adbae0af2832ef8025c0c884943d458d963dd8b7..c502aa05731e5be9337ed13abd940d1191781c7e 100644 (file)
@@ -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*)