Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LangRef: missing documentation for unary operations 'inv', 'neg', 'fneg' #19751

Closed
thielema mannequin opened this issue Apr 9, 2014 · 5 comments
Closed

LangRef: missing documentation for unary operations 'inv', 'neg', 'fneg' #19751

thielema mannequin opened this issue Apr 9, 2014 · 5 comments
Labels
bugzilla Issues migrated from bugzilla documentation good first issue https://github.com/llvm/llvm-project/contribute obsolete Issues with old (unsupported) versions of LLVM

Comments

@thielema
Copy link
Mannequin

thielema mannequin commented Apr 9, 2014

Bugzilla Link 19377
Version 3.4
OS Linux
CC @xgupta

Extended Description

The operations 'inv', 'neg', 'fneg' are not mentioned in http://llvm.org/docs/LangRef.html

@xgupta
Copy link
Contributor

xgupta commented Apr 27, 2021

'fneg' is documented here https://llvm.org/docs/LangRef.html#fneg-instruction.

But I didn't find an example for 'inv' and 'neg'. Would you please point to an LLVM IR (.ll) test case that show these instructions?

@thielema
Copy link
Mannequin Author

thielema mannequin commented Apr 27, 2021

Maybe these instructions do not exist (anymore). But there are the C instruction builders:

$ fgrep BuildNot /usr/lib/llvm-13/include/llvm-c/Core.h
LLVMValueRef LLVMBuildNot(LLVMBuilderRef, LLVMValueRef V, const char *Name);
$ fgrep BuildNeg /usr/lib/llvm-13/include/llvm-c/Core.h
LLVMValueRef LLVMBuildNeg(LLVMBuilderRef, LLVMValueRef V, const char *Name);

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
@xgupta xgupta added the good first issue https://github.com/llvm/llvm-project/contribute label Mar 21, 2023
@xgupta
Copy link
Contributor

xgupta commented Mar 21, 2023

Ah, adding good-first-issue label for someone who want to contribute documentation for 'inv' and 'neg' similar to 'fneg'.

@llvmbot
Copy link
Collaborator

llvmbot commented Mar 21, 2023

@llvm/issue-subscribers-good-first-issue

@SamTebbs33
Copy link
Collaborator

These instructions don't exist anymore so shouldn't be documented.

@EugeneZelenko EugeneZelenko added the obsolete Issues with old (unsupported) versions of LLVM label Mar 30, 2023
@EugeneZelenko EugeneZelenko closed this as not planned Won't fix, can't repro, duplicate, stale Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla documentation good first issue https://github.com/llvm/llvm-project/contribute obsolete Issues with old (unsupported) versions of LLVM
Projects
None yet
Development

No branches or pull requests

4 participants