diff options
author | Luke Lau <luke@igalia.com> | 2025-07-15 15:34:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-15 15:34:14 +0800 |
commit | c8d0e247453af3c5c031ed210736f650e6be2289 (patch) | |
tree | 716c0f73db7b544879ae913d6447c12251c1187e /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | b0769aa290fd11d1154f7d2779e59bfcc4314e8f (diff) | |
download | llvm-c8d0e247453af3c5c031ed210736f650e6be2289.zip llvm-c8d0e247453af3c5c031ed210736f650e6be2289.tar.gz llvm-c8d0e247453af3c5c031ed210736f650e6be2289.tar.bz2 |
[VPlan] Preserve trunc nuw/nsw in VPRecipeWithIRFlags (#144700)
This preserves the nuw/nsw flags on widened truncs by checking for
TruncInst in the VPIRFlags constructor
The motivation for this is to be able to fold away some redundant truncs
feeding into uitofps (or potentially narrow the inductions feeding them)
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions