aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-03-31 17:02:38 +0200
committerNikita Popov <npopov@redhat.com>2022-04-08 16:12:28 +0200
commit3075e5d2efd04dcd0add0e7f0a0d169fdc255f04 (patch)
treed507549979043fcf05bcd369dac0b821376c1db5 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent10c11f5c434a4162debcb53d43c8d01e9e111d21 (diff)
downloadllvm-3075e5d2efd04dcd0add0e7f0a0d169fdc255f04.zip
llvm-3075e5d2efd04dcd0add0e7f0a0d169fdc255f04.tar.gz
llvm-3075e5d2efd04dcd0add0e7f0a0d169fdc255f04.tar.bz2
[X86][FastISel] Fix with.overflow + select eflags clobber (PR54369)
Don't try to directly use the with.overflow flag result in a cmov if we need to materialize constants between the instruction producing the overflow flag and the cmov. The current code is careful to check that there are no other instructions in between, but misses the constant materialization case (which may clobber eflags via xor or constant expression evaluation). Fixes https://github.com/llvm/llvm-project/issues/54369. Differential Revision: https://reviews.llvm.org/D122825
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions