aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2023-08-01 10:40:32 -0700
committerPhilip Reames <listmail@philipreames.com>2023-08-01 10:50:03 -0700
commite93a8137d3046a8b55d23997ffa5f415e8f684d3 (patch)
tree91fbb9c7f682e980c10d1486cc98c025f62cae83 /clang/lib/Basic/FileManager.cpp
parent2d1e46fec6dbc6c4ecdf1354c091d01bc8267158 (diff)
downloadllvm-e93a8137d3046a8b55d23997ffa5f415e8f684d3.zip
llvm-e93a8137d3046a8b55d23997ffa5f415e8f684d3.tar.gz
llvm-e93a8137d3046a8b55d23997ffa5f415e8f684d3.tar.bz2
[RISCVRVVInitUndef] Remove implicit single use assumption for IMPLICIT_DEF (try 2)
Reapplying after revert due to sanitizer failure. Includes fix to avoid querying dead lanes for vreg introduced by previous transform. The code was written with the implicit assumption that each IMPLICIT_DEF either a) the tied operand, or b) an untied source, but not both. This is true right now, but an upcoming change may allow CSE of IMPLICIT_DEFs in some cases, so let's rewrite the code to handle that possibility. I added an MIR case which demonstrates the multiple use IMPLICIT_DEF. To my knowledge, this is not a reachable configuration from IR right now. As an aside, this makes the structure a much closer match with the sub-reg liveness case, and we can probably just merge these routines. (Future work.) Differential Revision: https://reviews.llvm.org/D156477
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions