diff options
author | Nikita Popov <npopov@redhat.com> | 2022-06-22 17:25:35 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-06-22 17:28:48 +0200 |
commit | 106151100867041f705a0cdf25dfe1f732b28443 (patch) | |
tree | 593df5e37f004dbe6090921a9c6b25dfe7bb5bd8 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 65f44c9218e5e64ff1ca277b4f676f8415484d3f (diff) | |
download | llvm-106151100867041f705a0cdf25dfe1f732b28443.zip llvm-106151100867041f705a0cdf25dfe1f732b28443.tar.gz llvm-106151100867041f705a0cdf25dfe1f732b28443.tar.bz2 |
[X86PreAMXConfig] Use IRBuilder to insert instructions (NFC)
Use an IRBuilder to insert instructions in preWriteTileCfg().
While here, also remove some unnecessary bool return values.
There are some test changes because the IRBuilder folds
"trunc i16 8 to i8" to "i8 8", and that has knock-on effects on
instruction naming.
I ran into this when converting tests to opaque pointers and
noticed that this pass introduces unnecessary "bitcast ptr to ptr"
instructions.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions