aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorAlex Bradbury <asb@igalia.com>2024-04-25 15:05:07 +0100
committerGitHub <noreply@github.com>2024-04-25 15:05:07 +0100
commit1c8410a67d9d7bbadc2e5f2c8698531b1060c8ac (patch)
tree4adf27ca74c09ca5d54123c9c0baf262a01de1e0 /clang/lib/Basic/Module.cpp
parent2554a85c0375b4c1c7c4f461811babef67e1a403 (diff)
downloadllvm-1c8410a67d9d7bbadc2e5f2c8698531b1060c8ac.zip
llvm-1c8410a67d9d7bbadc2e5f2c8698531b1060c8ac.tar.gz
llvm-1c8410a67d9d7bbadc2e5f2c8698531b1060c8ac.tar.bz2
[CodeGenPrepare] Preserve flags (such as nsw/nuw) in SinkCast (#89904)
As demonstrated in the test change, when deciding to sink a trunc we were losing its flags. This patch moves to cloning the original instruction instead.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions