diff options
author | vporpo <vporpodas@google.com> | 2025-01-17 14:37:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 14:37:29 -0800 |
commit | 22d4ff155aadf0f098dd5dc48d9038da15108937 (patch) | |
tree | bd7047bd569e3814ad4396f3c49f4069ad797052 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 2523d3b1024bac7aa2efb6740a136bbf2263994e (diff) | |
download | llvm-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