Bjorn Pettersson
89274584ee
[test][InstCombine] Update even more test cases to use opaque pointer
...
These tests cases were converted using the script at
https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 .
Needed to also re-run update_test_checks.py, otherwise some of them
would fail.
2022-10-03 22:18:00 +02:00
Bjorn Pettersson
acdc419c89
[test] Use -passes=instcombine instead of -instcombine in lots of tests. NFC
...
Another step moving away from the deprecated syntax of specifying
pass pipeline in opt.
Differential Revision: https://reviews.llvm.org/D119081
2022-02-07 14:26:59 +01:00
Arthur Eubanks
1aa02b37e7
Revert "[BuildLibCalls/SimplifyLibCalls] Fix attributes on created CallInst instructions."
...
This reverts commit 1eda5453f2dcc9a9a4b4578fe74163c529974503.
Causes https://crbug.com/1223647 :
Incompatible argument and return types for 'returned' attribute
tail call void @llvm.memset.p0i8.i64(i8* noalias noundef returned writeonly align 1 dereferenceable(255) %arraydecay, i8 0, i64 255, i1 false), !dbg !985
2021-06-24 19:24:34 -07:00
Jonas Paulsson
1eda5453f2
[BuildLibCalls/SimplifyLibCalls] Fix attributes on created CallInst instructions.
...
- When emitting libcalls, do not only pass the calling convention from the
function prototype but also the attributes.
- Do not pass attributes from e.g. libc memcpy to llvm.memcpy.
Review: Reid Kleckner, Eli Friedman, Arthur Eubanks
Differential Revision: https://reviews.llvm.org/D103992
2021-06-24 14:47:24 -05:00
Eric Christopher
cee313d288
Revert "Temporarily Revert "Add basic loop fusion pass.""
...
The reversion apparently deleted the test/Transforms directory.
Will be re-reverting again.
llvm-svn: 358552
2019-04-17 04:52:47 +00:00
Eric Christopher
a863435128
Temporarily Revert "Add basic loop fusion pass."
...
As it's causing some bot failures (and per request from kbarton).
This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda.
llvm-svn: 358546
2019-04-17 02:12:23 +00:00
David Majnemer
867bbc775f
Add test for r256912
...
I forgot to add this with the rest of r256912.
llvm-svn: 257088
2016-01-07 19:27:16 +00:00