aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorjofrn <jofernau@amd.com>2025-08-18 08:34:59 -0400
committerGitHub <noreply@github.com>2025-08-18 08:34:59 -0400
commite8e3e6e893a2c944c8ce1878f290aa62843323e0 (patch)
treee8a1e3c65cbb693285d14e1c3b6958c3f93aac4b /flang/lib/Frontend/CompilerInvocation.cpp
parent6aafe6582dc2290b3f624128eb48186663473e87 (diff)
downloadllvm-e8e3e6e893a2c944c8ce1878f290aa62843323e0.zip
llvm-e8e3e6e893a2c944c8ce1878f290aa62843323e0.tar.gz
llvm-e8e3e6e893a2c944c8ce1878f290aa62843323e0.tar.bz2
[LiveVariables] Mark use without implicit if defined at instr (#119446)
LiveVariables will mark instructions with their implicit subregister uses. However, it will also mark the subregister as an implicit if its own definition is a subregister of it, i.e. `$r3 = OP val, implicit-def $r0_r1_r2_r3, ..., implicit $r2_r3`, even if it is otherwise unused, which defines $r3 on the same line it is used. This change ensures such uses are marked without implicit, i.e. `$r3 = OP val, implicit-def $r0_r1_r2_r3, ..., $r2_r3`. --------- Co-authored-by: Matt Arsenault <arsenm2@gmail.com>
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions