aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorvporpo <vporpodas@google.com>2025-01-17 14:37:29 -0800
committerGitHub <noreply@github.com>2025-01-17 14:37:29 -0800
commit22d4ff155aadf0f098dd5dc48d9038da15108937 (patch)
treebd7047bd569e3814ad4396f3c49f4069ad797052 /llvm/lib/Object/WasmObjectFile.cpp
parent2523d3b1024bac7aa2efb6740a136bbf2263994e (diff)
downloadllvm-22d4ff155aadf0f098dd5dc48d9038da15108937.zip
llvm-22d4ff155aadf0f098dd5dc48d9038da15108937.tar.gz
llvm-22d4ff155aadf0f098dd5dc48d9038da15108937.tar.bz2
[SandboxIR] Fix CmpInst::create() when it gets folded (#123408)
If the operands of a CmpInst are constants then it gets folded into a constant. Therefore CmpInst::create() should return a Value*, not a Constant* and should handle the creation of the constant correctly.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions